Skip to content

Commit

Permalink
Update force check
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon committed Oct 19, 2022
1 parent 91eba7e commit 65e2cc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function handle()
return Command::FAILURE;
}

if ($this->files->exists($environmentFile) && ! $this->option('force')) {
if ($this->files->exists($filename) && ! $this->option('force')) {
$this->components->error('Environment file already exists.');

return Command::FAILURE;
Expand Down

0 comments on commit 65e2cc4

Please sign in to comment.