Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add encoding property
  • Loading branch information
Jacob Bolda committed Feb 4, 2020
1 parent bfe866f commit cf2e5a0
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 @@ -7865,7 +7865,7 @@ async function run() {
const body = core.getInput('body', { required: false });
let bodyFile = null;
try {
bodyFile = fs.readFileSync(body);
bodyFile = fs.readFileSync(body, { encoding: 'string' });
} catch (e) {
// noop
}
Expand Down
2 changes: 1 addition & 1 deletion src/create-release.js
Expand Up @@ -19,7 +19,7 @@ async function run() {
const body = core.getInput('body', { required: false });
let bodyFile = null;
try {
bodyFile = fs.readFileSync(body);
bodyFile = fs.readFileSync(body, { encoding: 'string' });
} catch (e) {
// noop
}
Expand Down

0 comments on commit cf2e5a0

Please sign in to comment.