mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
clarify error slightly more
This commit is contained in:
2
lib/config-utils.js
generated
2
lib/config-utils.js
generated
@@ -118,7 +118,7 @@ function validateAndSanitisePath(originalPath, propertyName, configFile) {
|
||||
}
|
||||
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 "/**/".'));
|
||||
'They must be immediately preceeded and followed by a slash as in "/**/", or come at the start or end.'));
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user