| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7f0869f commit cdd4540
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -50,7 +50,9 @@ function checkFile(path) { | |||
| 50 | 50 | const targetURL = new URL(node.url, base); | |
| 51 | 51 | if (targetURL.protocol === 'file:' && !fs.existsSync(targetURL)) { | |
| 52 | 52 | const { line, column } = node.position.start; | |
| 53 | - console.error(`Broken link at ${path}:${line}:${column} (${node.url})`); | ||
| 53 | + console.error((process.env.GITHUB_ACTIONS ? | ||
| 54 | + `::error file=${path},line=${line},col=${column}::` : '') + | ||
| 55 | + `Broken link at ${path}:${line}:${column} (${node.url})`); | ||
| 54 | 56 | process.exitCode = 1; | |
| 55 | 57 | } | |
| 56 | 58 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments