Skip to content

Commit a51a94e

Browse files
authored
fix: update link remapping in link checker for index.html handling
1 parent cdbff34 commit a51a94e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/check-pr-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
args: |
3838
--root-dir $PWD/dist
3939
--remap 'https://expressjs\.com\/(.*)/ file://'$PWD'/dist/$1/index.html'
40+
--remap 'https://expressjs\.com\/(.*\/)?index\.html file://'$PWD'/dist/$1index.html'
4041
--remap 'https://expressjs\.com\/(.*)\.html file://'$PWD'/dist/$1/index.html'
41-
--remap 'file://.*/dist/(.*)\.html file://'$PWD'/dist/$1/index.html'
4242
dist/
4343
fail: true

0 commit comments

Comments
 (0)