Skip to content

Commit

Permalink
Merge pull request #1 from ianloverink/master
Browse files Browse the repository at this point in the history
Update BenchHelper.php
  • Loading branch information
Artistan committed Jul 2, 2014
2 parents 7cdd028 + acfc7c4 commit afc15f1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Artistan/Workbench/Helpers/BenchHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ public function composer($packageNames=[],$name='',$action='') {
}
} else {
chdir(base_path());
echo shell_exec('composer '.$action.' --no-dev');
//avoid outputting composer help when just wanting to dump autoload
if(!empty($action))
{
echo shell_exec('composer '.$action.' --no-dev');
}
// remove any packages from vendors directory that you are workbenching
$this->composerVendorCleanup($packageNames);
// redo dumpautoload cache..
Expand Down Expand Up @@ -289,4 +293,4 @@ public function error($message,$exit=false){
exit;
}
}
}
}

0 comments on commit afc15f1

Please sign in to comment.