Skip to content

Commit f83957f

Browse files
authored
Use updated security advisories feed. See drupal-composer/drupal-security-advisories#11. (#3857)
1 parent 1f081e9 commit f83957f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Commands/pm/SecurityUpdateCommands.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ public function suggestComposerCommand($updates)
7474
protected function fetchAdvisoryComposerJson()
7575
{
7676
try {
77-
$response_body = file_get_contents('https://raw.githubusercontent.com/drupal-composer/drupal-security-advisories/8.x/composer.json');
77+
// We use the v2 branch for now, as per https://github.com/drupal-composer/drupal-security-advisories/pull/11.
78+
$response_body = file_get_contents('https://raw.githubusercontent.com/drupal-composer/drupal-security-advisories/8.x-v2/composer.json');
7879
} catch (Exception $e) {
7980
throw new Exception("Unable to fetch drupal-security-advisories information.");
8081
}

0 commit comments

Comments
 (0)