Skip to content
Snippets Groups Projects
Commit 0d934d20 authored by Ted Bowman's avatar Ted Bowman Committed by Ted Bowman
Browse files

Issue #3319497 by tedbow, yash.rode, Wim Leers: Build test failure on local in...

Issue #3319497 by tedbow, yash.rode, Wim Leers: Build test failure on local in 8.x-2.x due to drupal core packages being added to vendor.json
parent f689d746
No related branches found
No related tags found
No related merge requests found
...@@ -296,8 +296,18 @@ END; ...@@ -296,8 +296,18 @@ END;
$packages = []; $packages = [];
$drupal_root = $this->getDrupalRoot(); $drupal_root = $this->getDrupalRoot();
// @todo Add assertions that these packages never get added to vendor.json
// and determine if this logic should removed in the core merge request in
// https://drupal.org/i/3319679.
$core_packages = [
'drupal/core-vendor-hardening',
'drupal/core-project-message',
];
foreach ($this->getInstalledPackages() as $package) { foreach ($this->getInstalledPackages() as $package) {
$name = $package['name']; $name = $package['name'];
if (in_array($name, $core_packages, TRUE)) {
continue;
}
$path = "$drupal_root/vendor/$name"; $path = "$drupal_root/vendor/$name";
// We are building a set of path repositories to projects in the vendor // We are building a set of path repositories to projects in the vendor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment