LDX-1015 fix psd1 trailing whitespace
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
task UpdateSource {
|
task UpdateSource {
|
||||||
Copy-Item -Path $ManifestPath -Destination "$Source\$ModuleName.psd1"
|
Copy-Item -Path $ManifestPath -Destination "$Source\$ModuleName.psd1"
|
||||||
|
|
||||||
|
$content = Get-Content -Path "$Source\$ModuleName.psd1" -Raw -Encoding UTF8
|
||||||
|
$content.Trim() | Set-Content -Path "$Source\$ModuleName.psd1" -Encoding UTF8
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user