Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
Fix parameter order
Browse files Browse the repository at this point in the history
  • Loading branch information
Anahkiasen committed Jun 5, 2014
1 parent f944a22 commit b706e39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Rocketeer/Traits/BashModules/Binaries.php
Expand Up @@ -66,14 +66,15 @@ public function artisan($command = null, $flags = array())
*/
public function runArtisan($command = null, $flags = array())
{
$command = $this->artisan($command, $flags);

// Check if the seeds/migration need to be forced
$forced = array('migrate', 'db:seed');
if (in_array($command, $forced) && $this->versionCheck('4.2.0')) {
$flags['force'] = '';
}

// Create full command
$command = $this->artisan($command, $flags);

return $this->runForCurrentRelease($command);
}

Expand Down

0 comments on commit b706e39

Please sign in to comment.