Loading drupalorg_project/plugins/release_packager/DrupalorgProjectPackageRelease.class.php +10 −0 Original line number Diff line number Diff line Loading @@ -433,7 +433,17 @@ class DrupalorgProjectPackageRelease implements ProjectReleasePackagerInterface ); $installed = json_decode(file_get_contents("$directory/vendor/composer/installed.json"), TRUE); if (isset($installed['packages'])) { $composer2 = TRUE; // installed.json was generated by Composer 2. $installed = $installed['packages']; } $installed = $this->fixPathPackages($installed, $dep_list); if ($composer2) { $installed_c2['packages'] = $installed; $installed = $installed_c2; } file_put_contents("$directory/vendor/composer/installed.json", json_encode($installed, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)); } Loading Loading
drupalorg_project/plugins/release_packager/DrupalorgProjectPackageRelease.class.php +10 −0 Original line number Diff line number Diff line Loading @@ -433,7 +433,17 @@ class DrupalorgProjectPackageRelease implements ProjectReleasePackagerInterface ); $installed = json_decode(file_get_contents("$directory/vendor/composer/installed.json"), TRUE); if (isset($installed['packages'])) { $composer2 = TRUE; // installed.json was generated by Composer 2. $installed = $installed['packages']; } $installed = $this->fixPathPackages($installed, $dep_list); if ($composer2) { $installed_c2['packages'] = $installed; $installed = $installed_c2; } file_put_contents("$directory/vendor/composer/installed.json", json_encode($installed, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)); } Loading