From 4bdb1bc40c9bc07656dbbb7e70b25b2eaaa3fd40 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Sun, 18 Aug 2019 13:41:22 +0300 Subject: [PATCH] Add `nullglob` to avoid error when there are no specific scripts --- TravisCI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TravisCI.md b/TravisCI.md index bfbb252..1f40f84 100644 --- a/TravisCI.md +++ b/TravisCI.md @@ -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: