Skip to content
Snippets Groups Projects
Commit 5e42eaaa authored by Imran Iqbal's avatar Imran Iqbal
Browse files

ci(travis): quote pathspecs used with `git ls-files` [skip ci]

parent 47b3bce9
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ jobs:
script:
# Install and run `salt-lint`
- pip install --user salt-lint
- git ls-files -- *.sls *.jinja *.j2 *.tmpl *.tst
- git ls-files -- '*.sls' '*.jinja' '*.j2' '*.tmpl' '*.tst'
| xargs salt-lint
# Install and run `yamllint`
# Need at least `v1.17.0` for the `yaml-files` setting
......@@ -57,7 +57,7 @@ jobs:
- rubocop -d
# Run `shellcheck` (already pre-installed in Travis)
- shellcheck --version
- git ls-files -- *.sh *.bash *.ksh
- git ls-files -- '*.sh' '*.bash' '*.ksh'
| xargs shellcheck
# Install and run `commitlint`
- npm i -D @commitlint/config-conventional
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment