os: fix linter issue

pull/442/head
Dawid Dziurla 1 year ago committed by GitHub
parent cd11c3e131
commit 0066c1c76c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -97,7 +97,7 @@ func (c *OSCommand) ExecutableFromStringContext(ctx context.Context, commandStr
}
func (c *OSCommand) NewCommandStringWithShell(commandStr string) string {
quotedCommand := ""
var quotedCommand string
// Windows does not seem to like quotes around the command
if c.Platform.os == "windows" {
quotedCommand = strings.NewReplacer(

Loading…
Cancel
Save