Skip to content

Commit

Permalink
Fix confirm overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaconnier committed Apr 29, 2020
1 parent cacae40 commit 3b4715e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AuthCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ protected function exportBackend()
if ($this->confirm("The [HomeController.php] file already exists. Do you want to replace it?")) {
file_put_contents($controller, $this->compileControllerStub());
}
} else {
file_put_contents($controller, $this->compileControllerStub());
}

file_put_contents(
Expand Down

0 comments on commit 3b4715e

Please sign in to comment.