File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 18
18
with :
19
19
# Add a test to restrict the test to just dir4 and dir5.
20
20
folder-path : ' ./md/dir4, ./md/dir5'
21
+ file-path : ' ./md/AdditionalFileTest1.md, ./md/AdditionalFileTest2.md'
21
22
shellcheck :
22
23
runs-on : [ubuntu-latest]
23
24
steps :
Original file line number Diff line number Diff line change @@ -125,9 +125,9 @@ check_additional_files () {
125
125
126
126
if [ -n " $FILES " ]; then
127
127
if [ " $MAX_DEPTH " -ne -1 ]; then
128
- FIND_CALL=(' find' ' .' ' -type' ' f' ' (' " ${FILES} " ' )' ' -not' ' -path' ' ./node_modules/*' ' -maxdepth' " ${MAX_DEPTH} " ' -exec' ' markdown-link-check' ' {}' )
128
+ FIND_CALL=(' find' ' .' ' -type' ' f' ' (' ${FILES} ' )' ' -not' ' -path' ' ./node_modules/*' ' -maxdepth' " ${MAX_DEPTH} " ' -exec' ' markdown-link-check' ' {}' )
129
129
else
130
- FIND_CALL=(' find' ' .' ' -type' ' f' ' (' " ${FILES} " ' )' ' -not' ' -path' ' ./node_modules/*' ' -exec' ' markdown-link-check' ' {}' )
130
+ FIND_CALL=(' find' ' .' ' -type' ' f' ' (' ${FILES} ' )' ' -not' ' -path' ' ./node_modules/*' ' -exec' ' markdown-link-check' ' {}' )
131
131
fi
132
132
133
133
add_options
Original file line number Diff line number Diff line change
1
+ # AdditionalFileTest1
2
+
3
+ ## Test
4
+
5
+ Go to [ AdditionalFileTest2] ( ./AdditionalFileTest2.md#test )
6
+
Original file line number Diff line number Diff line change
1
+ # AdditionalFileTest2
2
+
3
+ ## Test
4
+
5
+ Go to [ AdditionalFileTest1] ( ./AdditionalFileTest1.md#test )
6
+
You can’t perform that action at this time.
0 commit comments