mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-29 01:21:05 -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 #
|
||||
################################
|
||||
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
|
||||
return 0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue