diff --git a/lib/error-matcher.js b/lib/error-matcher.js index 2f0ba4801..3d373a8ec 100644 --- a/lib/error-matcher.js +++ b/lib/error-matcher.js @@ -10,7 +10,7 @@ exports.namedMatchersForTesting = { 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", + "https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build", }, fatalError: { outputRegex: new RegExp("A fatal error occurred"), diff --git a/lib/error-matcher.js.map b/lib/error-matcher.js.map index 1478ad5f6..d96a0d27e 100644 --- a/lib/error-matcher.js.map +++ b/lib/error-matcher.js.map @@ -1 +1 @@ -{"version":3,"file":"error-matcher.js","sourceRoot":"","sources":["../src/error-matcher.ts"],"names":[],"mappings":";;;AAQA,qCAAqC;AACxB,QAAA,uBAAuB,GAAoC;IACtE;;MAEE;IACF,iBAAiB,EAAE;QACjB,QAAQ,EAAE,EAAE;QACZ,WAAW,EAAE,IAAI,MAAM,CAAC,2CAA2C,CAAC;QACpE,OAAO,EACL,+CAA+C;YAC/C,yJAAyJ;KAC5J;IACD,UAAU,EAAE;QACV,WAAW,EAAE,IAAI,MAAM,CAAC,wBAAwB,CAAC;QACjD,OAAO,EAAE,yBAAyB;KACnC;CACF,CAAC;AAEF,oEAAoE;AACvD,QAAA,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,+BAAuB,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"error-matcher.js","sourceRoot":"","sources":["../src/error-matcher.ts"],"names":[],"mappings":";;;AAQA,qCAAqC;AACxB,QAAA,uBAAuB,GAAoC;IACtE;;MAEE;IACF,iBAAiB,EAAE;QACjB,QAAQ,EAAE,EAAE;QACZ,WAAW,EAAE,IAAI,MAAM,CAAC,2CAA2C,CAAC;QACpE,OAAO,EACL,+CAA+C;YAC/C,8EAA8E;KACjF;IACD,UAAU,EAAE;QACV,WAAW,EAAE,IAAI,MAAM,CAAC,wBAAwB,CAAC;QACjD,OAAO,EAAE,yBAAyB;KACnC;CACF,CAAC;AAEF,oEAAoE;AACvD,QAAA,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,+BAAuB,CAAC,CAAC"} \ No newline at end of file diff --git a/src/error-matcher.ts b/src/error-matcher.ts index e3673cce3..52bb6f446 100644 --- a/src/error-matcher.ts +++ b/src/error-matcher.ts @@ -16,7 +16,7 @@ export const namedMatchersForTesting: { [key: string]: ErrorMatcher } = { 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", + "https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build", }, fatalError: { outputRegex: new RegExp("A fatal error occurred"),