Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Without this quoting, arguments would get expanded before being passed to bash, which would cause the following configuration to fail: clang-format-version: 12 check-path: '.' exclude-regex: '(foo|bar)' because `check.sh` would get run as: check.sh 12 . LLVM (foo|bar) And since '(' and '|' are special characters for bash, the action will immediately fail because of a syntax error. Instead, it should get ran as: check.sh "12" "." "LLVM" "(foo|bar)"
- Loading branch information