From c6bd7e9f8fa92b24333a828416b3910524ec54c4 Mon Sep 17 00:00:00 2001 From: Chase Busacker Date: Thu, 21 Mar 2024 07:20:32 -0600 Subject: [PATCH] Stringify the context if sha is empty string --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index f790249..a98ccb3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -39,7 +39,7 @@ async function run(): Promise { if(github.CONFIG.sha === '') { - console.error(`Error: Commit sha is an empty string. This action may not be supported in this context. Context: ${context}`) + console.error(`Error: Commit sha is an empty string. This action may not be supported in this context. Context: ${JSON.stringify(context)}`) } if (UPLOAD_KEY) {