Skip to content

Commit

Permalink
fix linter 🚨
Browse files Browse the repository at this point in the history
  • Loading branch information
noyshabtay committed Sep 3, 2024
1 parent 63e1b77 commit 5ebcec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func (config *Command) GetCmd() (cmd *exec.Cmd) {
if config.CmdName != "" {
cmdStr = append(cmdStr, config.CmdName)
}
if config.CmdArgs != nil && len(config.CmdArgs) > 0 {
if len(config.CmdArgs) > 0 {
cmdStr = append(cmdStr, config.CmdArgs...)
}
cmd = exec.Command(config.Executable, cmdStr...)
Expand Down

0 comments on commit 5ebcec3

Please sign in to comment.