Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed Jun 15, 2020
1 parent c59c279 commit 76ff60f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/Commands/PublishCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class PublishCommand extends Command
{
protected $signature = 'publish';
protected $signature = 'publish {--force}';

protected $description = 'Publish the expose configuration file';

Expand All @@ -18,7 +18,7 @@ public function handle()
'config.php'
]);

if (file_exists($configFile)) {
if (! $this->option('force') && file_exists($configFile)) {
$this->error('Expose configuration file already exists at '.$configFile);
return;
}
Expand Down
1 change: 0 additions & 1 deletion box.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"exclude-composer-files": false,
"compression": "GZ",
"compactors": [
"KevinGH\\Box\\Compactor\\Php",
"KevinGH\\Box\\Compactor\\Json"
]
}
Binary file modified builds/expose
Binary file not shown.

0 comments on commit 76ff60f

Please sign in to comment.