mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-14 12:31:14 +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;
|
||||
if (path) {
|
||||
body = fs_1.readFileSync(path);
|
||||
body = fs_1.readFileSync(path, 'utf-8');
|
||||
}
|
||||
else {
|
||||
body = message;
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ async function run() {
|
|||
let body;
|
||||
|
||||
if (path) {
|
||||
body = readFileSync(path);
|
||||
body = readFileSync(path, 'utf-8');
|
||||
} else {
|
||||
body = message;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue