Skip to content

Commit

Permalink
fix: display docker warning if it's not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
carlalexander committed Jan 12, 2025
1 parent 601ee0e commit 331b288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/Project/InitializeProjectCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ protected function perform()
$this->invoke(CreateDockerfileCommand::NAME, ['--configure-project' => null]);
}

if ($useContainerImage && $this->dockerExecutable->isInstalled()) {
if ($useContainerImage && !$this->dockerExecutable->isInstalled()) {
$this->output->warning('Docker wasn\'t detected on this computer. You won\'t be able to deploy this project locally.');
}

Expand Down

0 comments on commit 331b288

Please sign in to comment.