Permalink
Cannot retrieve contributors at this time
18 lines (18 sloc)
884 Bytes
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/lib/error-matcher.js
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
Object.defineProperty(exports, "__esModule", { value: true }); | |
exports.errorMatchers = exports.namedMatchersForTesting = void 0; | |
// exported only for testing purposes | |
exports.namedMatchersForTesting = { | |
/* | |
In due course it may be possible to remove the regex, if/when javascript also exits with code 32. | |
*/ | |
noSourceCodeFound: { | |
exitCode: 32, | |
outputRegex: new RegExp("No JavaScript or TypeScript code found\\."), | |
message: "No code found during the build. Please see:\n" + | |
"https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-code-scanning#no-code-found-during-the-build", | |
}, | |
}; | |
// we collapse the matches into an array for use in execErrorCatcher | |
exports.errorMatchers = Object.values(exports.namedMatchersForTesting); | |
//# sourceMappingURL=error-matcher.js.map |