Skip to content

Commit e35ffee

Browse files
authored
Merge pull request #7 from otya128/master
Nicoプラグインで無限ループが発生する問題を修正
2 parents 4042a2a + 12536d7 commit e35ffee

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/miraktest-miyou/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ const main: InitPlugin = {
281281
}
282282
const text = trimCommentForFlow(comment.text)
283283
if (text.length === 0) {
284+
index++
284285
continue
285286
}
286287
if (isDplayerFound) {

src/miraktest-nico/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ const main: InitPlugin = {
230230
}
231231
const text = trimCommentForFlow(comment.content)
232232
if (text.length === 0) {
233+
index++
233234
continue
234235
}
235236
const { color, position } = parseMail(comment.mail)

0 commit comments

Comments
 (0)