Skip to content

Commit

Permalink
Update Start.php
Browse files Browse the repository at this point in the history
  • Loading branch information
amirfaramarzi authored Nov 7, 2022
1 parent a859587 commit f056410
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Commands/Server/Start.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int
foreach (array_diff(scandir($dir), ['.', '..']) as $file) {
unlink("$dir/$file");
}
}else {
mkdir(storagePath('routes'));
}

/*
Expand Down

0 comments on commit f056410

Please sign in to comment.