From 0066c1c76c86d269a6dc23a4a32dabc7d8c7683d Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Wed, 29 Mar 2023 15:55:53 +0200 Subject: [PATCH] os: fix linter issue --- pkg/commands/os.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/os.go b/pkg/commands/os.go index ae22929..a94acc3 100644 --- a/pkg/commands/os.go +++ b/pkg/commands/os.go @@ -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(