Skip to content

Commit

Permalink
module RunCommand is using local args (empty) instead of a.args (ie o…
Browse files Browse the repository at this point in the history
…s.Args) for [0]
  • Loading branch information
yemble committed Mar 17, 2017
1 parent fac2a23 commit 5de9ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alfred/alfred.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func (a *Alfred) runTask(task string, args []string, formatted bool) bool {
// Go through each of the modules ...
// before command, docker stop for example
for module, cmd := range copyOfTask.Modules {
if !copyOfTask.RunCommand(args[0]+" "+a.remote.ModulePath(module)+" "+cmd, task, formatted) {
if !copyOfTask.RunCommand(a.args[0]+" "+a.remote.ModulePath(module)+" "+cmd, task, formatted) {
// It failed :(
taskok = false
break
Expand Down

0 comments on commit 5de9ea6

Please sign in to comment.