Update main.js

This commit is contained in:
Balaga Gayatri 2022-06-16 17:08:33 +05:30 committed by GitHub
commit 90b2be557f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,7 +145,7 @@ function main() {
}
}
catch (error) {
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.`);
core.error(`${error.message.split(':')[1]}. Please make sure to give write permissions to id-token in the workflow.`);
}
}
// Attempting Az cli login