Skip to content
Snippets Groups Projects
Commit b9604854 authored by Adam Globus-Hoenich's avatar Adam Globus-Hoenich
Browse files

workaround

parent cae01feb
No related branches found
No related tags found
No related merge requests found
...@@ -384,7 +384,12 @@ END; ...@@ -384,7 +384,12 @@ END;
// from being built correctly, among other deleterious effects. To prevent // from being built correctly, among other deleterious effects. To prevent
// such shenanigans, always remove drupal/automatic_updates from // such shenanigans, always remove drupal/automatic_updates from
// drupal/core-recommended. // drupal/core-recommended.
$this->runComposer('composer remove --no-update drupal/automatic_updates', 'composer/Metapackage/CoreRecommended'); $file = $this->getWorkspaceDirectory() . '/composer/Metapackage/CoreRecommended/composer.json';
$this->assertFileIsWritable($file);
$data = file_get_contents($file);
$data = json_decode($data, TRUE);
unset($data['require']['drupal/automatic_updates']);
file_put_contents($file, json_encode($data, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT));
} }
// END: DELETE FROM CORE MERGE REQUEST // END: DELETE FROM CORE MERGE REQUEST
......
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