mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 15:22:16 -05:00
Merge pull request #229 from github/staging
Staging change to logical or `||`
This commit is contained in:
commit
071fdcd319
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ GetLinterVersions()
|
|||
##############################
|
||||
# Check the shell for errors #
|
||||
##############################
|
||||
if [ $ERROR_CODE -ne 0 ] | [ -z "${GET_VERSION_CMD[*]}" ]; then
|
||||
if [ $ERROR_CODE -ne 0 ] || [ -z "${GET_VERSION_CMD[*]}" ]; then
|
||||
echo "WARN! Failed to get version info for:[$LINTER]"
|
||||
echo "---------------------------------------------"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue