Skip to content

Commit

Permalink
Correct the no code found URL (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Newman authored and GitHub committed Jul 20, 2023
1 parent d0dd7d7 commit ce84bed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/error-matcher.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/error-matcher.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/error-matcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit ce84bed

Please sign in to comment.