We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
array_values
project_hash
1 parent e4a5416 commit 08a2346Copy full SHA for 08a2346
1 file changed
src/Command/MainCommand.php
@@ -94,7 +94,7 @@ protected function execute(Input $input, Output $output): int
94
if (!empty($this->deployer->config['repository'])) {
95
$hash = sha1($this->deployer->config['repository']);
96
} else {
97
- $hosts = $this->deployer->hosts->all();
+ $hosts = array_values($this->deployer->hosts->all());
98
if (count($hosts) > 0) {
99
$hash = sha1($hosts[0]->getHostname());
100
}
0 commit comments