Skip to content

Commit

Permalink
- Fixed "ask" message.
Browse files Browse the repository at this point in the history
  • Loading branch information
andkirby committed Jan 18, 2015
1 parent c4d88cf commit cfbca15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LibHooks/lib/PreCommit/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ protected function askPhpPath(OutputInterface $output)

do {
$file = $this->getDialog()->ask(
$output, "Please set your PHP directory [$file]: ", $file
$output, "Please set your PHP executable file [$file]: ", $file
);
if (!$validator($file)) {
$output->writeln('Given file does not exists.');
$output->writeln('Given PHP executable file does not exists.');
$file = null;
}
} while (!$file);
Expand Down

0 comments on commit cfbca15

Please sign in to comment.