mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:04:02 +00:00
Stop using command terminology in CreateStorageSymlinksAction
This commit is contained in:
parent
c6268608d4
commit
fceec8ec50
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class CreateStorageSymlinksAction
|
||||||
event(new CreatingStorageSymlink($tenant));
|
event(new CreatingStorageSymlink($tenant));
|
||||||
|
|
||||||
if (static::symlinkExists($publicPath)) {
|
if (static::symlinkExists($publicPath)) {
|
||||||
// If the 'force' option isn't passed, don't overwrite the existing symlink
|
// If $force isn't passed, don't overwrite the existing symlink
|
||||||
throw_if(! $force, new Exception("The [$publicPath] link already exists."));
|
throw_if(! $force, new Exception("The [$publicPath] link already exists."));
|
||||||
|
|
||||||
app()->make('files')->delete($publicPath);
|
app()->make('files')->delete($publicPath);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue