Skip to content

Commit

Permalink
Replace custom implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
jerguslejko committed Mar 9, 2017
1 parent ec93886 commit 394f0fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Illuminate/Console/ConfirmableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ public function confirmToProceed($warning = 'Application In Production!', $callb
return true;
}

$this->comment(str_repeat('*', strlen($warning) + 12));
$this->comment('* '.$warning.' *');
$this->comment(str_repeat('*', strlen($warning) + 12));
$this->alert($warning);
$this->output->writeln('');

$confirmed = $this->confirm('Do you really wish to run this command?');
Expand Down

0 comments on commit 394f0fe

Please sign in to comment.