Skip to content

Commit

Permalink
Further changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaize Kaye committed Jul 2, 2024
1 parent 44e7e58 commit 4c4786d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Step/Deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function runImplementation(array $args)
);
}
if($registerBuildIdAs !== false) {
self::setVariable($registerBuildIdAs, $buildId);
$this->dynamicEnvironment->setVariable($registerBuildIdAs, $buildId);
}
}

Expand Down
1 change: 0 additions & 1 deletion src/Step/StepParent.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Migrator\Step;

use _PHPStan_7dd5f1b1b\Nette\Neon\Exception;
use Migrator\LagoonUtilityBelt;
use Migrator\LagoonUtilityBeltInterface;
use Migrator\LoggerTrait;
Expand Down
2 changes: 1 addition & 1 deletion src/Step/Waitfordeploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function runImplementation(array $args)
"passIfTextExistsInLogs",
$args
) ? $args["passIfTextExistsInLogs"] : null;
$buildId = !empty($args['buildId']) ? self::getVariable($args['buildId']) : null;
$buildId = !empty($args['buildId']) ? $this->dynamicEnvironment->getVariable($args['buildId']) : null;
if (empty($buildId)) {
throw new \Exception(
"Cannot run step waitfordeploy without setting a 'buildId'"
Expand Down

0 comments on commit 4c4786d

Please sign in to comment.