mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
Merge pull request #442 from jesseduffield/dawidd6-patch-1
os: fix linter issue
This commit is contained in:
commit
fcc0bbe552
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ func (c *OSCommand) ExecutableFromStringContext(ctx context.Context, commandStr
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *OSCommand) NewCommandStringWithShell(commandStr string) string {
|
func (c *OSCommand) NewCommandStringWithShell(commandStr string) string {
|
||||||
quotedCommand := ""
|
var quotedCommand string
|
||||||
// Windows does not seem to like quotes around the command
|
// Windows does not seem to like quotes around the command
|
||||||
if c.Platform.os == "windows" {
|
if c.Platform.os == "windows" {
|
||||||
quotedCommand = strings.NewReplacer(
|
quotedCommand = strings.NewReplacer(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue