Skip to content

Commit

Permalink
Removing duplicate error checking
Browse files Browse the repository at this point in the history
  • Loading branch information
ericduran committed Mar 25, 2015
1 parent 5c08eb3 commit 58ee9f9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/flo/Command/PullRequest/DeployCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,6 @@ protected function execute(InputInterface $input, OutputInterface $output) {
throw new \Exception("You must run pr-deploy from the git root.");
}

if ($git_root->getOutput() !== $current_dir->getOutput()) {
throw new \Exception("You must run pr-deploy from the git root.");
}

// Lets rsync this workspace now.
$pull_request = $this->getConfigParameter('pull_request');
$path = "{$pull_request['prefix']}-{$pr_number}.{$pull_request['domain']}";
Expand Down

0 comments on commit 58ee9f9

Please sign in to comment.