Skip to content
Permalink
Browse files

fix null check (#2417)

  • Loading branch information...
Devolicious committed Apr 5, 2019
1 parent 1dbe370 commit 416f6b64b3be463dd58158e1c7c11eaa822d836c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Kunstmaan/GeneratorBundle/Command/InstallCommand.php
@@ -85,7 +85,7 @@ protected function interact(InputInterface $input, OutputInterface $output)
$outputStyle->writeln('<info>Installing KunstmaanCms...</info>');
$outputStyle->writeln($this->getKunstmaanLogo());
if (Kernel::VERSION_ID >= 40000 && null === $input->getOption('db-installed')) {
if (Kernel::VERSION_ID >= 40000 && true !== $input->getOption('db-installed')) {
$this->shouldStop = !$this->assistant->askConfirmation('We need access to your database. Are the database credentials setup properly? (y/n)', 'y');
if ($this->shouldStop) {
return;

0 comments on commit 416f6b6

Please sign in to comment.
You can’t perform that action at this time.