mirror of
https://github.com/timheuer/base64-to-file
synced 2024-05-10 08:19:32 +02:00
Modifying version and error message
This commit is contained in:
parent
f50b750e3c
commit
ca9e30baf8
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@ node_modules/
|
|||
|
||||
# Editors
|
||||
.vscode
|
||||
.vs/
|
||||
|
||||
# Logs
|
||||
logs
|
||||
|
|
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -636,7 +636,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;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "base64-to-file",
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.3",
|
||||
"description": "base64 encoded string to a file",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue