Skip to content

Commit

Permalink
Merge pull request #1204 from pantheon-systems/change/yes-rollback
Browse files Browse the repository at this point in the history
Revert "Merge pull request #1201 from pantheon-systems/addition/confi…
  • Loading branch information
TeslaDethray committed Sep 16, 2016
2 parents 57a0568 + 25945e8 commit 3af361d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/Commands/TerminusCommand.php
Expand Up @@ -12,7 +12,6 @@
use Robo\Contract\ConfigAwareInterface;
use Robo\Common\ConfigAwareTrait;
use Robo\Common\IO;
use Symfony\Component\Console\Question\ConfirmationQuestion;
use Terminus\Models\Auth;

abstract class TerminusCommand implements IOAwareInterface, LoggerAwareInterface, ConfigAwareInterface, SessionAwareInterface
Expand All @@ -38,16 +37,4 @@ protected function log()
{
return $this->logger;
}

/**
* @param $question
* @return string
*/
protected function confirm($question)
{
if ($this->input()->hasParameterOption(['--yes', '-y'])) {
return true;
}
return $this->doAsk(new ConfirmationQuestion($this->formatQuestion($question . ' (y/n)'), false));
}
}

0 comments on commit 3af361d

Please sign in to comment.