1
0
Fork 0

trim input

pull/410/head
till 2012-03-09 14:34:17 +01:00
parent 4c2da57140
commit 8d80969f26
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
static $cacheTrueAnswers = array('yes', 'y', 'true', 'ja', 'si', 'da');
$cacheAnswer = strtolower($this->io->ask("Should we Subversion cache these credentials?", 'no'));
$cacheAnswer = strtolower(trim($this->io->ask("Should Subversion cache these credentials?", 'no')));
if (in_array($cacheAnswer, $cacheTrueAnswers)) {
$this->useCache = true;
}