mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-26 01:02:08 -05:00
is it really an array?
This commit is contained in:
parent
29c9470bb1
commit
916f5fe1ed
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,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