Skip to content

Commit c307bc0

Browse files
committed
Fix command.
1 parent 9fa00c9 commit c307bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/Env/CodeRebuildCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function rebuild(
3737
$site_env
3838
) {
3939
$this->requireSiteIsNotFrozen($site_env);
40-
$site = $this->getSite($site_env);
40+
$site = $this->getSiteById($site_env);
4141
$env = $this->getEnv($site_env);
4242

4343
if ($env->getName() === 'test' || $env->getName() === 'live') {

0 commit comments

Comments
 (0)