Skip to content

Commit

Permalink
fix: glob trace count fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zetxx committed Mar 10, 2020
1 parent c8914da commit 141a932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class Brid {
globTrace.count = 1;
} else {
globTrace.id = meta.globTrace.id;
globTrace.count = meta.globTrace.count + 1;
globTrace.count = (meta.globTrace.count || 0) + 1;
}
return globTrace;
}
Expand Down

0 comments on commit 141a932

Please sign in to comment.