Skip to content

Commit ed6472d

Browse files
committed
Escape exclude pattern
1 parent 5dca926 commit ed6472d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: .github/workflows/render-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
npx render-docs \
9696
${{ inputs.source-path }} \
9797
${{ inputs.target-path }} \
98-
${{ inputs.exclude-pattern && format('--exclude {0}', inputs.exclude-pattern) || '' }} \
98+
${{ inputs.exclude-pattern && format('--exclude "{0}"', inputs.exclude-pattern) || '' }} \
9999
${{ inputs.include-cpp == true && '--include-cpp' || '' }} \
100100
${{ inputs.show-access-modifiers == true && '--show-access-modifiers' || '' }} \
101101
${{ inputs.access-level && format('--access-level {0}', inputs.access-level) || '' }} \

Diff for: action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ runs:
7373
npx render-docs \
7474
${{ inputs.source-path }} \
7575
${{ inputs.target-path }} \
76-
${{ inputs.exclude-pattern && format('--exclude {0}', inputs.exclude-pattern) || '' }} \
76+
${{ inputs.exclude-pattern && format('--exclude "{0}"', inputs.exclude-pattern) || '' }} \
7777
${{ inputs.include-cpp == 'true' && '--include-cpp' || '' }} \
7878
${{ inputs.show-access-modifiers == 'true' && '--show-access-modifiers' || '' }} \
7979
${{ inputs.access-level && format('--access-level {0}', inputs.access-level) || '' }} \

0 commit comments

Comments
 (0)