Skip to content

Commit cff1e66

Browse files
author
John Haley
committed
Revert "Include parentKeyName with calls to test function"
This reverts commit 8102448.
1 parent 42dc06b commit cff1e66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function processExports(exports, test, cached, parentKeyName) {
4646
// is asynchronous.
4747
if (test) {
4848
// Pass the function itself, its keyName, and the parent keyName.
49-
if (!test(exports, exports.name || parentKeyName, parentKeyName)) {
49+
if (!test(exports, exports.name || parentKeyName)) {
5050
return exports;
5151
}
5252
}

0 commit comments

Comments
 (0)