fixed bug in openAPI path

This commit is contained in:
Lucas Gravley 2020-07-01 14:48:40 -05:00
parent 048cc49991
commit cee9c71797

View file

@ -417,7 +417,7 @@ DetectOpenAPIFile()
###############################
# Check the file for keywords #
###############################
grep -E '"openapi":|"swagger":|^openapi:|^swagger:' "$GITHUB_WORKSPACE/$FILE" > /dev/null
grep -E '"openapi":|"swagger":|^openapi:|^swagger:' "$FILE" > /dev/null
#######################
# Load the error code #