diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-01 12:13:41 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-01 12:13:41 +1000 |
commit | 3f14b764d5af8ba0390d8f791389330ec1739c9e (patch) | |
tree | 91b4a0dab47e1e5a00b8429ef569a921ff4e1281 /pkg/commands/os.go | |
parent | ae0d88f855773dd76432487509f9af13f987a812 (diff) |
update tests
Diffstat (limited to 'pkg/commands/os.go')
-rw-r--r-- | pkg/commands/os.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/commands/os.go b/pkg/commands/os.go index fd27d39da..c3574f98e 100644 --- a/pkg/commands/os.go +++ b/pkg/commands/os.go @@ -80,8 +80,7 @@ func (c *OSCommand) RunDirectCommand(command string) (string, error) { c.Log.WithField("command", command).Info("RunDirectCommand") return sanitisedCommandOutput( - exec. - Command(c.Platform.shell, c.Platform.shellArg, command). + c.command(c.Platform.shell, c.Platform.shellArg, command). CombinedOutput(), ) } |