ocd
This commit is contained in:
parent
239c0ce1f9
commit
94dd87741e
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ var proto = module.exports = {
|
|||
// don't do anything if there is no error.
|
||||
// this allows you to pass `this.onerror`
|
||||
// to node-style callbacks.
|
||||
if (undefined == err) return;
|
||||
if (null == err) return;
|
||||
|
||||
assert(err instanceof Error, 'non-error thrown: ' + err);
|
||||
|
||||
|
|
Loading…
Reference in a new issue