add encoding property
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user