Skip to content

Commit

Permalink
Fixing precommand validate hook.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav Goyal committed Apr 13, 2020
1 parent f000ef3 commit 053b99d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Blt/Plugin/Commands/CloneSiteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function preCommand(CommandData $commandData) {
$sitename = $arguments['sitename'];
$fs = new FileSystem();
$multisiteDir = $this->getConfigValue('docroot');
$siteDir = $multisiteDir . ' / sites / default / ' . $sitename;
$siteDir = $multisiteDir . '/sites/default/' . $sitename;
if ($fs->exists($siteDir)) {
throw new RuntimeException('Multisite already exists .');
}
Expand Down

0 comments on commit 053b99d

Please sign in to comment.