Run npm run build
This commit is contained in:
parent
512c07d9a3
commit
5416d4f3b5
25 changed files with 49 additions and 52 deletions
2
lib/config-utils.js
generated
2
lib/config-utils.js
generated
|
|
@ -207,7 +207,7 @@ function validateAndSanitisePath(originalPath, propertyName, configFile, logger)
|
|||
// Check for illegal uses of **
|
||||
if (path.match(pathStarsRegex)) {
|
||||
throw new Error(getConfigFilePropertyError(configFile, propertyName, `"${originalPath}" contains an invalid "**" wildcard. ` +
|
||||
`They must be immediately preceeded and followed by a slash as in "/**/", or come at the start or end.`));
|
||||
`They must be immediately preceded and followed by a slash as in "/**/", or come at the start or end.`));
|
||||
}
|
||||
// Check for other regex characters that we don't support.
|
||||
// Output a warning so the user knows, but otherwise continue normally.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue