Skip to content

Commit fa16052

Browse files
committed
upd
1 parent a7086ea commit fa16052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webhook/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function getContent(e) {
2727
let h1reg = /^# .+$/gm,
2828
h2reg = /^## .+$/gm,
2929
authorreg = /author:[^\n]*/gm;
30-
lines = lines.filter((e) => {return !e.match(authorreg));
30+
lines = lines.filter((e) => {return !e.match(authorreg)});
3131
others = lines.filter(e => {
3232
return !e.match(h1reg) && !e.match(h2reg);
3333
});

0 commit comments

Comments
 (0)