Skip to content

Commit

Permalink
Use 'taskExec' instead of task(Exec::class) in shortcut.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-1-anderson committed Sep 1, 2016
1 parent 5c7ca1e commit 410ae10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ public function tryError()
*/
public function trySuccess()
{
return $this->taskExec('pwd')->run();
return $this->_exec('pwd');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Task/Base/loadShortcuts.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ trait loadShortcuts
*/
protected function _exec($command)
{
return $this->task(Exec::class, $command)->run();
return $this->taskExec($command)->run();
}
}

0 comments on commit 410ae10

Please sign in to comment.