From 8b8c6c8e2e0e7a056a813a7a6f2a7d8dc1e8bd26 Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Mon, 22 Jun 2020 22:57:29 +0200 Subject: [PATCH] Fix subdomain check --- app/Commands/ShareCurrentWorkingDirectoryCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }