Skip to content

Commit

Permalink
Modifying version and error message
Browse files Browse the repository at this point in the history
  • Loading branch information
timheuer committed May 17, 2023
1 parent f50b750 commit ca9e30b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ node_modules/

# Editors
.vscode
.vs/

# Logs
logs
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit ca9e30b

Please sign in to comment.