mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Fix Start-ResGen to produce windows line-ends all the time
This commit is contained in:
1 parent
5763ad458d
commit
4b51bbb976
1 file changed
+2
-1
+2
-1
@@ -1052,7 +1052,8 @@ internal class {0} {{
|
||||
$entry -f $name,$val
|
||||
}
|
||||
} | Out-String
|
||||
$body -f $ClassName,$ModuleName,$entries
|
||||
$resultCode = $body -f $ClassName,$ModuleName,$entries
|
||||
return $resultCode -replace "`r`n?|`n","`r`n"
|
||||
}
|
||||
|
||||
function New-MSIPackage
|
||||
|
||||
Reference in new issue
Block a user