Skip to content

Commit

Permalink
fix: translate this pointer error
Browse files Browse the repository at this point in the history
  • Loading branch information
hqwuzhaoyi committed Sep 24, 2023
1 parent 68336b5 commit ba392ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/translater/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class TranslateModel {

inputStream
.pipe(parse())
.pipe(filter(this.filterFunc))
.pipe(filter((node) => this.filterFunc(node)))
.on("data", (node) => {
nodes.push(node);
group.push(node);
Expand Down

0 comments on commit ba392ec

Please sign in to comment.