diff --git a/app/Commands/ShareCurrentWorkingDirectoryCommand.php b/app/Commands/ShareCurrentWorkingDirectoryCommand.php index 72ce6f3..a610374 100644 --- a/app/Commands/ShareCurrentWorkingDirectoryCommand.php +++ b/app/Commands/ShareCurrentWorkingDirectoryCommand.php @@ -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); }