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