From 2e545d38ff4387b370449e2673088cc8dc40cf1d Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Wed, 18 Nov 2020 00:39:50 -0500 Subject: [PATCH] Fix composer.json check --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index e4fd182..bed65b5 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -11,7 +11,7 @@ if [ ! -z "$INPUT_REPORT_FILE" ]; then REPORT="--report=$INPUT_REPORT_FILE" fi -if test -f "$FILE"; then +if test -f "composer.json"; then IGNORE_PLATFORM_REQS="" if [ "$CHECK_PLATFORM_REQUIREMENTS" = "false" ] || [ "$INPUT_COMPOSER_CHECK_PLATFORM_REQUIREMENTS" = "false" ]; then IGNORE_PLATFORM_REQS="--ignore-platform-reqs"