Fix link when no composer.json is present, fixes #9966

main
Jordi Boggiano 3 years ago
parent 3a979c7c4b
commit 5780caf208
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -304,7 +304,7 @@ class Factory
} else {
$message = 'Composer could not find the config file: '.$localConfig;
}
$instructions = $fullLoad ? 'To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section' : '';
$instructions = $fullLoad ? 'To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage' : '';
throw new \InvalidArgumentException($message.PHP_EOL.$instructions);
}

Loading…
Cancel
Save