Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix encoding
  • Loading branch information
Jacob Bolda committed Feb 4, 2020
1 parent 15708f2 commit 76860a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Expand Up @@ -7866,7 +7866,7 @@ async function run() {
const bodyFromFile = core.getInput('bodyFromFile', { required: false });
let bodyFile = null;
try {
bodyFile = fs.readFileSync(bodyFromFile, { encoding: 'string' });
bodyFile = fs.readFileSync(bodyFromFile, { encoding: 'utf8' });
} catch (error) {
core.setFailed(error.message);
}
Expand Down
2 changes: 1 addition & 1 deletion src/create-release.js
Expand Up @@ -20,7 +20,7 @@ async function run() {
const bodyFromFile = core.getInput('bodyFromFile', { required: false });
let bodyFile = null;
try {
bodyFile = fs.readFileSync(bodyFromFile, { encoding: 'string' });
bodyFile = fs.readFileSync(bodyFromFile, { encoding: 'utf8' });
} catch (error) {
core.setFailed(error.message);
}
Expand Down

0 comments on commit 76860a0

Please sign in to comment.