Generalizing failed message

This commit is contained in:
Tim Heuer committed 2019-12-14 18:33:54 -08:00
1 parent 3ab47b004c
commit 10416be100
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;