Skip to content

Commit 0a2b63a

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
script:
3838
# Install and run `salt-lint`
3939
- pip install --user salt-lint
40-
- git ls-files -- *.sls *.jinja *.j2 *.tmpl *.tst
40+
- git ls-files -- '*.sls' '*.jinja' '*.j2' '*.tmpl' '*.tst'
4141
| xargs salt-lint
4242
# Install and run `yamllint`
4343
# Need at least `v1.17.0` for the `yaml-files` setting
@@ -48,7 +48,7 @@ jobs:
4848
- rubocop -d
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)