Skip to content

Commit

Permalink
#62
Browse files Browse the repository at this point in the history
 #62
#62 Server password shouldn't be mandatory
  • Loading branch information
Julien JACOTTET committed Apr 4, 2024
1 parent d352074 commit 1f15f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Automate/VariableResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct(
public function process(Platform $platform): void
{
foreach ($platform->getServers() as $server) {
if ($this->isVariable($server->getPassword())) {
if ($server->getPassword() && $this->isVariable($server->getPassword())) {
$password = $this->resolveVariable($server->getPassword());
$this->variables[$server->getPassword()] = $password;
$server->setPassword($password);
Expand Down

0 comments on commit 1f15f57

Please sign in to comment.