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