appease golangci-lint (#2512)

This commit is contained in:
Jesse Duffield 2023-03-19 11:20:29 +11:00 committed by GitHub
parent 4f57bf22c9
commit e6274af015
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ func (self *CmdObjBuilder) NewFromArgs(args []string) ICmdObj {
}
func (self *CmdObjBuilder) NewShell(commandStr string) ICmdObj {
quotedCommand := ""
var quotedCommand string
// Windows does not seem to like quotes around the command
if self.platform.OS == "windows" {
quotedCommand = strings.NewReplacer(