Skip to content
Snippets Groups Projects
Unverified Commit 00d68752 authored by Tomasz Maczukin's avatar Tomasz Maczukin Committed by Tomasz Maczukin
Browse files

Merge branch 'powershell-error-regarding-username' into 'master'

Fix support for Unicode variable values when Windows+PowerShell are used

Closes #3413

See merge request gitlab-org/gitlab-runner!960
parent 6faf5693
No related branches found
No related tags found
No related merge requests found
......@@ -220,6 +220,8 @@ func (b *PsWriter) Finish(trace bool) string {
var buffer bytes.Buffer
w := bufio.NewWriter(&buffer)
// write BOM
io.WriteString(w, "\xef\xbb\xbf")
if trace {
io.WriteString(w, "Set-PSDebug -Trace 2\r\n")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment