diff options
author | mjarkk <mkopenga@gmail.com> | 2018-12-12 22:10:33 +0100 |
---|---|---|
committer | mjarkk <mkopenga@gmail.com> | 2018-12-12 22:11:31 +0100 |
commit | 5d038dfd334d4bdd767ac4db504a21160a013f79 (patch) | |
tree | e27a87e61cd385a0e2be18b2c69cfd65088eceac /pkg/commands/exec_live_win.go | |
parent | 0577d3b97fcedaf02b5aaa19ac29bdd082599209 (diff) |
Removed the wired error handling
Diffstat (limited to 'pkg/commands/exec_live_win.go')
-rw-r--r-- | pkg/commands/exec_live_win.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/commands/exec_live_win.go b/pkg/commands/exec_live_win.go index d97274279..343e0dd9f 100644 --- a/pkg/commands/exec_live_win.go +++ b/pkg/commands/exec_live_win.go @@ -4,7 +4,6 @@ package commands // RunCommandWithOutputLiveWrapper runs a command live but because of windows compatibility this command can't be ran there // TODO: Remove this hack and replace it with a propper way to run commands live on windows -func RunCommandWithOutputLiveWrapper(c *OSCommand, command string, output func(string) string) (errorMessage string, codeError error) { - cmdOputput := c.RunCommand(command) - return cmdOputput.Error(), cmdOputput +func RunCommandWithOutputLiveWrapper(c *OSCommand, command string, output func(string) string) error { + return c.RunCommand(command) } |