mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-21 09:25:53 +00:00
set path only if exists
This commit is contained in:
@@ -51,8 +51,10 @@ class ShareCurrentWorkingDirectoryCommand extends ShareCommand
|
||||
->keys()
|
||||
->first();
|
||||
|
||||
if ($site) {
|
||||
$projectPath = $site;
|
||||
}
|
||||
}
|
||||
|
||||
return str_replace('.', '-', basename($projectPath));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user