We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e73de7 commit a3eb3ccCopy full SHA for a3eb3cc
scripts/genCmds.ps1
@@ -6,4 +6,5 @@ $commands = $rawCommands -split '\r\n|\n' | ForEach-Object { $_.Trim() }
6
$commandsStr = ($commands | ForEach-Object { "`t'$_'" }) -join ",`n"
7
$commandsScriptContent = "`$cmds = @(`n$commandsStr`n)"
8
9
-$commandsScriptContent | Out-File -FilePath $destCommandPath
+$utf8NoBomEncoding = New-Object System.Text.UTF8Encoding $false
10
+[System.IO.File]::WriteAllText($destCommandPath, $commandsScriptContent, $utf8NoBomEncoding)
0 commit comments