Modifying version and error message
This commit is contained in:
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": {
|
||||
|
||||
Reference in New Issue
Block a user