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

Revert "workaround"

This reverts commit b9604854.
parent b9604854
No related branches found
No related tags found
No related merge requests found
......@@ -384,12 +384,7 @@ END;
// from being built correctly, among other deleterious effects. To prevent
// such shenanigans, always remove drupal/automatic_updates from
// drupal/core-recommended.
$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));
$this->runComposer('composer remove --no-update drupal/automatic_updates', 'composer/Metapackage/CoreRecommended');
}
// 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