Skip to content

Commit

Permalink
fix: Fixed DevtoolsTransport#segmentsFilter.
Browse files Browse the repository at this point in the history
  • Loading branch information
miyaokamarina committed Oct 29, 2019
1 parent 1642c89 commit d0f7ccc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ripreact/logger",
"version": "1.0.1",
"version": "1.0.2",
"description": "An opinionated logger for browser devtools.",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export const DevtoolsTransport = (config = {} as DevtoolsTransportConfig): Plugi
}

namespace.forEach((x, i) => {
if (!filterSegments(x, i, tags)) return;
if (!filterSegments(x, i, namespace)) return;

const { id, name, diff } = x;

Expand Down

0 comments on commit d0f7ccc

Please sign in to comment.