Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ function onAsyncHook (opts, cb) {
opts = {}
}

assert.equal(typeof opts, 'object', 'on-async-hook: opts should be type object')
assert.equal(typeof cb, 'function', 'on-async-hook: cb should be type function')
assert.strictEqual(typeof opts, 'object', 'on-async-hook: opts should be type object')
assert.strictEqual(typeof cb, 'function', 'on-async-hook: cb should be type function')

// catch this if we are not in node 8
try {
Expand Down