mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-06 17:25:55 -05:00
Merge pull request #328 from github/FixError
Don't show shyaml errors to the console
This commit is contained in:
commit
a2e930c77c
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