Skip to content

Commit 92a4e4a

Browse files
authored
Merge pull request #12 from clementine-player/master
Fix passing arguments with spaces
2 parents 661d6e7 + b4e4870 commit 92a4e4a

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

action.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,13 @@ runs:
2929
using: 'docker'
3030
image: 'Dockerfile'
3131
args:
32-
- --clang-format-executable /clang-format/clang-format${{ inputs.clangFormatVersion }}
32+
- --clang-format-executable
33+
- /clang-format/clang-format${{ inputs.clangFormatVersion }}
3334
- -r
34-
- --style ${{ inputs.style }}
35-
- --extensions ${{ inputs.extensions }}
36-
- --exclude ${{ inputs.exclude }}
35+
- --style
36+
- ${{ inputs.style }}
37+
- --extensions
38+
- ${{ inputs.extensions }}
39+
- --exclude
40+
- ${{ inputs.exclude }}
3741
- ${{ inputs.source }}

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
cd "$GITHUB_WORKSPACE"
44

5-
/run-clang-format.py $*
5+
/run-clang-format.py "$@"

0 commit comments

Comments
 (0)