mirror of
https://github.com/bitinflow/expose.git
synced 2026-10-31 20:59:09 +00:00
wip
This commit is contained in:
1 parent
c59c279128
commit
76ff60f114
3 files changed
+2
-3
No files matched your search
@@ -6,7 +6,7 @@ use Illuminate\Console\Command;
|
||||
|
||||
class PublishCommand extends Command
|
||||
{
|
||||
protected $signature = 'publish';
|
||||
protected $signature = 'publish {--force}';
|
||||
|
||||
protected $description = 'Publish the expose configuration file';
|
||||
|
||||
@@ -18,7 +18,7 @@ class PublishCommand extends Command
|
||||
'config.php'
|
||||
]);
|
||||
|
||||
if (file_exists($configFile)) {
|
||||
if (! $this->option('force') && file_exists($configFile)) {
|
||||
$this->error('Expose configuration file already exists at '.$configFile);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
"exclude-composer-files": false,
|
||||
"compression": "GZ",
|
||||
"compactors": [
|
||||
"KevinGH\\Box\\Compactor\\Php",
|
||||
"KevinGH\\Box\\Compactor\\Json"
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Reference in new issue
Block a user