Skip to content

Commit

Permalink
Merge branch 'hotfix/3.4.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
stmh committed Apr 28, 2020
2 parents 3f9bfcb + b7fce04 commit 91fa4c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Method/GitMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@ public function appCreate(HostConfig $host_config, TaskContextInterface $context
$shell = $context->get('outerShell', $host_config->shell());
$install_dir = $context->get('installDir', $host_config['gitRootFolder']);

$repository = $context->getConfigurationService()->getSetting('repository', false);
$repository = $host_config->get(
'repository',
$context->getConfigurationService()->getSetting('repository', false)
);
if (!$repository) {
throw new \InvalidArgumentException('Missing `repository` in fabfile! Cannot proceed!');
}
Expand Down

0 comments on commit 91fa4c2

Please sign in to comment.