Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
phanshiyu committed Aug 2, 2024
1 parent 4f56cdc commit 371f737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/4.0/obfuscate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const obfuscate = (_data: V4WrappedDocument, fields: string[] | string) => {
pick(data, fieldsAsArray),
({ path }) => path,
"",
// not picking from an array can lead to unpicked items being left as undefined
// picking from an array can lead to unpicked items being left as undefined
// these 'undefined' leaf nodes should be removed and not lead to an exception
true
);
Expand Down

0 comments on commit 371f737

Please sign in to comment.