Skip to content

Commit

Permalink
fix: core filter
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Jul 4, 2024
1 parent 6b0838d commit 26d2d92
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/filters/commentFilter/filters/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ class CoreCommentFilter {
// 未命中黑名单
// debug(_result)
showEle(comment)
Promise.all(whiteTasks)
.then((_result) => {})
.catch((_result) => {})
})
.catch((_result) => {
// 命中黑名单
Expand Down
3 changes: 3 additions & 0 deletions src/filters/dynFilter/filters/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ class CoreDynFilter {
// 未命中黑名单
// debug(_result)
showEle(dyn)
Promise.all(whiteTasks)
.then((_result) => {})
.catch((_result) => {})
})
.catch((_result) => {
// 命中黑名单
Expand Down
3 changes: 3 additions & 0 deletions src/filters/videoFilter/filters/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ class CoreVideoFilter {
// 未命中黑名单
// debug(_result)
showEle(video)
Promise.all(whiteTasks)
.then((_result) => {})
.catch((_result) => {})
})
.catch((_result) => {
// 命中黑名单
Expand Down

0 comments on commit 26d2d92

Please sign in to comment.