@@ -36,11 +36,11 @@ |
||
| 36 | 36 | |
| 37 | 37 | private function registerDeployCommands() |
| 38 | 38 | { |
| 39 | - $this->app->singleton('command.morphatic.deployinit', function ($app) { |
|
| 39 | + $this->app->singleton('command.morphatic.deployinit', function($app) { |
|
| 40 | 40 | return $app['Morphatic\AutoDeploy\Commands\DeployInitCommand']; |
| 41 | 41 | }); |
| 42 | 42 | |
| 43 | - $this->app->singleton('command.morphatic.deployinfo', function ($app) { |
|
| 43 | + $this->app->singleton('command.morphatic.deployinfo', function($app) { |
|
| 44 | 44 | return $app['Morphatic\AutoDeploy\Commands\DeployInfoCommand']; |
| 45 | 45 | }); |
| 46 | 46 | |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | 'Timestamp' => date('r'), |
| 118 | 118 | 'output' => '', |
| 119 | 119 | ]; |
| 120 | - $whitelist = ['backupDatabase','pull','composer','npm','migrate','seed','deploy']; |
|
| 120 | + $whitelist = ['backupDatabase', 'pull', 'composer', 'npm', 'migrate', 'seed', 'deploy']; |
|
| 121 | 121 | foreach ($steps as $step) { |
| 122 | 122 | if (in_array($step, $whitelist) && !$this->{$step}()) { |
| 123 | 123 | $this->log->error('Deploy failed.', $this->result); |