We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7bfc03 commit 1c1f45cCopy full SHA for 1c1f45c
build-packages/magento-scripts/lib/util/config-file-validator.js
@@ -16,7 +16,7 @@ const fileExistsValidator = (value) => {
16
}
17
18
const composerVersionRegex =
19
- /^latest-(\d+\.\d+\.?(x|\d)+?)$|^latest-stable$|^latest-preview$|^latest-(\d+\.x)$|^(\d+\.\d+\.\d+?)$/gi
+ /^latest-(\d+\.\d+\.?(x|\d)+?)$|^latest-stable$|^latest-preview$|^latest-(\d+\.x)$|^(\d+\.\d+\.\d+?)$/i
20
21
/**
22
* @type {Joi.CustomValidator<string>}
0 commit comments