Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
Prevent published compass-documentarian to overwrite any existing files.
  • Loading branch information
davidhsianturi committed Nov 18, 2019
1 parent d44ca09 commit 9404b00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/CompassServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private function registerPublishing()

$this->publishes([
__DIR__.'/../resources/views/documentarian' => resource_path('views/vendor/compass/documentarian'),
], 'compass-views');
], 'compass-documentarian');

$this->publishes([
__DIR__.'/../config/compass.php' => config_path('compass.php'),
Expand Down
4 changes: 2 additions & 2 deletions src/Console/PublishCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ public function handle()
]);

$this->call('vendor:publish', [
'--tag' => 'compass-views',
'--force' => true,
'--tag' => 'compass-documentarian',
'--force' => $this->option('force'),
]);
}
}

0 comments on commit 9404b00

Please sign in to comment.