mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-09 18:43:34 -05:00
Don't show shyaml errors to the console
This commit is contained in:
parent
65349e258d
commit
66ea3e05d8
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ DetectCloudFormationFile()
|
||||||
################################
|
################################
|
||||||
# See if it contains resources #
|
# See if it contains resources #
|
||||||
################################
|
################################
|
||||||
if shyaml values-0 Resources | grep -q -E "Type: (AWS|Alexa|Custom)" < "$FILE"; then
|
if shyaml values-0 Resources 2> /dev/null | grep -q -E "Type: (AWS|Alexa|Custom)" < "$FILE"; then
|
||||||
# Found it
|
# Found it
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue