mirror of
https://github.com/timheuer/base64-to-file
synced 2024-05-10 08:19:32 +02:00
make input error more descriptive
This commit is contained in:
parent
64eeb40ad3
commit
291f322050
2
index.js
2
index.js
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue