From 3f0aa01c7b4e29ca44f4df96e0de177d1197e818 Mon Sep 17 00:00:00 2001 From: Balaga Gayatri Date: Thu, 16 Jun 2022 17:04:45 +0530 Subject: [PATCH] Update main.js --- lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index 48dd7f6a..91b2ce24 100644 --- a/lib/main.js +++ b/lib/main.js @@ -145,7 +145,7 @@ function main() { } } catch (error) { - core.error(`${error.message.slice(':')[1]}. Could not get ID token for authentication. Please make sure to give write permissions to id-token in the workflow.`); + core.error(`${error.message.slice(':')}. Could not get ID token for authentication. Please make sure to give write permissions to id-token in the workflow.`); } } // Attempting Az cli login