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 8352d7f commit 77a00adCopy full SHA for 77a00ad
stembuild/construct/vmconstruct.go
@@ -340,7 +340,7 @@ func EncodePowershellCommand(command []byte) string {
340
for _, utf16char := range utf16Command {
341
b := make([]byte, 2)
342
binary.LittleEndian.PutUint16(b, utf16char)
343
- byteCommand.Write(b) // This write never returns an error.
+ byteCommand.Write(b)
344
}
345
return base64.StdEncoding.EncodeToString(byteCommand.Bytes())
346
0 commit comments