Skip to content

Commit

Permalink
Stringify the context if sha is empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
cwbusacker committed Mar 21, 2024
1 parent af613c1 commit c6bd7e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function run(): Promise<void> {

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) {
Expand Down

0 comments on commit c6bd7e9

Please sign in to comment.