make input error more descriptive

This commit is contained in:
Nino van Hooff 2023-05-17 18:01:28 +02:00 committed by GitHub
parent 64eeb40ad3
commit 291f322050
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ async function run() {
const tempFile = Buffer.from(encodedString, 'base64');
if (tempFile.length == 0)
core.setFailed('Temporary file value is not set');
core.setFailed('encodedString value is not set');
fse.outputFile(fileName, tempFile, (err) => {
if (err) throw err;