Skip to content

Commit c56c052

Browse files
authored
Add core-dev before changing repositories (#27)
1 parent 93982c4 commit c56c052

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2264,9 +2264,9 @@ async function doScript() {
22642264
['config', 'minimum-stability', 'dev'],
22652265
['config', 'prefer-stable', 'true'],
22662266
['config', 'preferred-install', 'dist'],
2267+
['require', '--dev', `drupal/core-dev:${drupalVersion}`],
22672268
['config', 'repositories.0', `{"type": "path", "url": "${githubWorkspacePath}", "options": {"symlink": false}}`],
22682269
['config', 'repositories.1', 'composer', 'https://packages.drupal.org/8'],
2269-
['require', '--dev', `drupal/core-dev:${drupalVersion}`],
22702270
];
22712271

22722272
if (utils.getMajorVersionFromConstraint(drupalVersion) === 8) {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ async function doScript() {
2828
['config', 'minimum-stability', 'dev'],
2929
['config', 'prefer-stable', 'true'],
3030
['config', 'preferred-install', 'dist'],
31+
['require', '--dev', `drupal/core-dev:${drupalVersion}`],
3132
['config', 'repositories.0', `{"type": "path", "url": "${githubWorkspacePath}", "options": {"symlink": false}}`],
3233
['config', 'repositories.1', 'composer', 'https://packages.drupal.org/8'],
33-
['require', '--dev', `drupal/core-dev:${drupalVersion}`],
3434
];
3535

3636
if (utils.getMajorVersionFromConstraint(drupalVersion) === 8) {

0 commit comments

Comments
 (0)