Skip to content

Commit 091c614

Browse files
committed
ci(travis): quote pathspecs used with git ls-files [skip ci]
* Automated using myii/ssf-formula#107
1 parent ccf64d9 commit 091c614

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ jobs:
4040
script:
4141
# Install and run `salt-lint`
4242
- pip install --user salt-lint
43-
- git ls-files -- *.sls *.jinja *.j2 *.tmpl *.tst
43+
- git ls-files -- '*.sls' '*.jinja' '*.j2' '*.tmpl' '*.tst'
4444
| xargs salt-lint
4545
# Install and run `yamllint`
4646
# Need at least `v1.17.0` for the `yaml-files` setting
4747
- pip install --user yamllint>=1.17.0
4848
- yamllint -s .
4949
# Run `shellcheck` (already pre-installed in Travis)
5050
- shellcheck --version
51-
- git ls-files -- *.sh *.bash *.ksh
51+
- git ls-files -- '*.sh' '*.bash' '*.ksh'
5252
| xargs shellcheck
5353
# Install and run `commitlint`
5454
- npm i -D @commitlint/config-conventional

0 commit comments

Comments
 (0)