Skip to content

Commit b93e446

Browse files
committed
Fixes to pass the broken test.
1 parent 9c16662 commit b93e446

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const args = require("./utils/args");
33

44
// Unfortunately this list is not exhaustive, so if you find that a method does
55
// not use a "standard"-ish name, you'll have to extend this list.
6-
var callbacks = exports.callbacks = ["cb", "callback", "callback_", "done"];
6+
var callbacks = ["cb", "callback", "callback_", "done"];
77

88
/**
99
* Recursively operate over an object locating "asynchronous" functions by
@@ -71,3 +71,6 @@ module.exports = function(name) {
7171
// promises.
7272
return processExports(exports);
7373
};
74+
75+
// Export callbacks to the module.
76+
module.exports.callbacks = callbacks;

0 commit comments

Comments
 (0)