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 0c91620 commit 3fdf1d9Copy full SHA for 3fdf1d9
stembuild/construct/vmconstruct.go
@@ -313,7 +313,7 @@ func EncodePowershellCommand(command []byte) string {
313
for _, utf16char := range utf16Command {
314
b := make([]byte, 2)
315
binary.LittleEndian.PutUint16(b, utf16char)
316
- byteCommand.Write(b) // This write never returns an error.
+ byteCommand.Write(b)
317
}
318
return base64.StdEncoding.EncodeToString(byteCommand.Bytes())
319
0 commit comments