From 5d7a0484f55fa4cdce036a677fd7452024a20e37 Mon Sep 17 00:00:00 2001 From: Damien Wilson Date: Thu, 7 Mar 2024 09:35:18 +0000 Subject: [PATCH] Check for auth.json --- bin/composer-auth.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/composer-auth.sh b/bin/composer-auth.sh index 79fb9468a..bcfa16c51 100755 --- a/bin/composer-auth.sh +++ b/bin/composer-auth.sh @@ -27,3 +27,8 @@ if [ -n "$COMPOSER_USER" ] && [ -n "$COMPOSER_PASS" ]; then } EOF fi + +## check for auth.json +if [ ! -f "auth.json" ]; then + echo "FATAL: auth.json was not written to the FS." +fi