Skip to content

Commit 0ca412d

Browse files
authored
fix: undefined body (#27)
Fixing issue #26
1 parent 3a607d7 commit 0ca412d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async function run() {
2727
issues.push(it.replace('#', ''));
2828
}
2929
});
30-
} else if (way === 'body') {
30+
} else if (way === 'body' && body) {
3131
let arr = body.split('\n');
3232
arr.forEach(it => {
3333
if (it.startsWith('#')) {

0 commit comments

Comments
 (0)