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

os: fix linter issue
This commit is contained in:
Dawid Dziurla 2023-03-29 16:00:06 +02:00 committed by GitHub
commit fcc0bbe552
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(