diff --git a/src/NewCommand.php b/src/NewCommand.php index e0744ec..0ce1d69 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -822,7 +822,7 @@ protected function configureComposerDevScript(string $directory): void */ protected function verifyApplicationDoesntExist($directory) { - if ((is_dir($directory) || is_file($directory)) && $directory != getcwd()) { + if ((is_dir($directory) || is_file($directory)) && $directory != getcwd() && $directory != '.') { throw new RuntimeException('Application already exists!'); } }