mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-09 18:43:34 -05:00
Merge pull request #217 from ntchambers/pipe-fix
Turn the pipe operator into the proper or operator
This commit is contained in:
commit
89c4dd233a
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ GetLinterVersions()
|
||||||
##############################
|
##############################
|
||||||
# Check the shell for errors #
|
# 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 "WARN! Failed to get version info for:[$LINTER]"
|
||||||
echo "---------------------------------------------"
|
echo "---------------------------------------------"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue