From 10416be100249be558b1e748895ac63fe3bfbd8d Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Sat, 14 Dec 2019 18:33:54 -0800 Subject: [PATCH] Generalizing failed message --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 26aa2ae..5c8e459 100644 --- a/dist/index.js +++ b/dist/index.js @@ -67,7 +67,7 @@ async function run() { const tempFile = Buffer.from(encodedString, 'base64'); if (tempFile.length == 0) - core.setFailed('Certificate value is not set'); + core.setFailed('Temporary file value is not set'); fs.writeFile(fileName, tempFile, (err) => { if (err) throw err; diff --git a/index.js b/index.js index cf6a243..37ea024 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ async function run() { const tempFile = Buffer.from(encodedString, 'base64'); if (tempFile.length == 0) - core.setFailed('Certificate value is not set'); + core.setFailed('Temporary file value is not set'); fs.writeFile(fileName, tempFile, (err) => { if (err) throw err;