Skip to content

Commit

Permalink
Merge pull request #67 from pwweb/develop
Browse files Browse the repository at this point in the history
🐞 Fix issue with views flag not being checked properly
  • Loading branch information
frankpde authored May 10, 2021
2 parents 3d7bcbb + b8dc1f2 commit 62bda13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generators/Scaffold/VueGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function generate()

$this->commandData->commandComment("\nGenerating Vues...");

if (true === $this->commandData->getOption('views')) {
if (false !== $this->commandData->getOption('views')) {
$vuesToBeGenerated = explode(',', $this->commandData->getOption('views'));

if (true === in_array('index', $vuesToBeGenerated)) {
Expand Down

0 comments on commit 62bda13

Please sign in to comment.