mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-17 05:28:28 +00:00
Merge pull request #202 from SvanBoxel/buffer-to-string
Buffer to string
This commit is contained in:
commit
9740b9a8b2
2 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ function run() {
|
||||||
}
|
}
|
||||||
let body;
|
let body;
|
||||||
if (path) {
|
if (path) {
|
||||||
body = fs_1.readFileSync(path);
|
body = fs_1.readFileSync(path, 'utf-8');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
body = message;
|
body = message;
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ async function run() {
|
||||||
let body;
|
let body;
|
||||||
|
|
||||||
if (path) {
|
if (path) {
|
||||||
body = readFileSync(path);
|
body = readFileSync(path, 'utf-8');
|
||||||
} else {
|
} else {
|
||||||
body = message;
|
body = message;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue