@@ -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 |
@@ -119,7 +119,7 @@ |
||
119 | 119 | 'Timestamp' => date('r'), |
120 | 120 | 'output' => '', |
121 | 121 | ]; |
122 | - $whitelist = ['backupDatabase','pull','copyEnv','composer','npm','migrate','seed','deploy']; |
|
122 | + $whitelist = ['backupDatabase', 'pull', 'copyEnv', 'composer', 'npm', 'migrate', 'seed', 'deploy']; |
|
123 | 123 | foreach ($steps as $step) { |
124 | 124 | if (in_array($step, $whitelist) && !$this->{$step}()) { |
125 | 125 | $this->log->error('Deploy failed.', $this->result); |