summaryrefslogtreecommitdiffstats
path: root/src/GitDeploy/Console
diff options
context:
space:
mode:
Diffstat (limited to 'src/GitDeploy/Console')
-rw-r--r--src/GitDeploy/Console/Command/DeployCommand.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/GitDeploy/Console/Command/DeployCommand.php b/src/GitDeploy/Console/Command/DeployCommand.php
index b504d4b..6a735bd 100644
--- a/src/GitDeploy/Console/Command/DeployCommand.php
+++ b/src/GitDeploy/Console/Command/DeployCommand.php
@@ -29,12 +29,6 @@ class DeployCommand extends Command
protected function execute(InputInterface $input, OutputInterface $output)
{
$deploy = GitDeploy::fromFile($input->getOption('file'));
- $repositories = $deploy->getRepositories();
- if (empty($repositories)) {
- $output->writeln('<info>Configuration file empty.</info>');
- }
- else {
- $deploy->update();
- }
+ $deploy->deploy();
}
}