Fix subdomain check

This commit is contained in:
Marcel Pociot
2020-06-22 22:57:29 +02:00
parent c5b89e1179
commit 8b8c6c8e2e

View File

@@ -12,7 +12,7 @@ class ShareCurrentWorkingDirectoryCommand extends ShareCommand
$this->input->setArgument('host', $host);
if (! $this->hasOption('subdomain')) {
if (! $this->option('subdomain')) {
$subdomain = str_replace('.', '_', basename(getcwd()));
$this->input->setOption('subdomain', $subdomain);
}