Skip to content

Commit 2a60e0f

Browse files
Merge pull request #89 from bpkroth/fixup-more-path-quoting-issues
Fix more file path quoting issues
2 parents 72d871b + 7d57278 commit 2a60e0f

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
with:
1919
# Add a test to restrict the test to just dir4 and dir5.
2020
folder-path: './md/dir4, ./md/dir5'
21+
file-path: './md/AdditionalFileTest1.md, ./md/AdditionalFileTest2.md'
2122
shellcheck:
2223
runs-on: [ubuntu-latest]
2324
steps:

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ check_additional_files () {
125125

126126
if [ -n "$FILES" ]; then
127127
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' '{}')
129129
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' '{}')
131131
fi
132132

133133
add_options

md/AdditionalFileTest1.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# AdditionalFileTest1
2+
3+
## Test
4+
5+
Go to [AdditionalFileTest2](./AdditionalFileTest2.md#test)
6+

md/AdditionalFileTest2.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# AdditionalFileTest2
2+
3+
## Test
4+
5+
Go to [AdditionalFileTest1](./AdditionalFileTest1.md#test)
6+

0 commit comments

Comments
 (0)