mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Add nullglob
to avoid error when there are no specific scripts
@@ -5,7 +5,7 @@ For a truly simple configuration, place the following in your `.travis.yml`:
|
||||
```yaml
|
||||
language: shell
|
||||
script:
|
||||
- bash -c 'shopt -s globstar; shellcheck **/*.{sh,ksh,bash}'
|
||||
- bash -c 'shopt -s globstar nullglob; shellcheck **/*.{sh,ksh,bash}'
|
||||
```
|
||||
|
||||
Note:
|
||||
|
Reference in New Issue
Block a user