Merge pull request #442 from jesseduffield/dawidd6-patch-1

os: fix linter issue
pull/435/head
Dawid Dziurla 1 year ago committed by GitHub
commit fcc0bbe552
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