Skip to content

Commit

Permalink
Merge pull request #100 from cbaconnier/fix-confirm-overwrite
Browse files Browse the repository at this point in the history
Fix confirm controller overwrite
  • Loading branch information
taylorotwell authored Apr 29, 2020
2 parents cacae40 + 3b4715e commit 15368c5
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 15368c5

Please sign in to comment.