Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit 5dcd474

Browse files
authored
Merge pull request #3 from cthulhu-node/fix-error-check
fix error check
2 parents 7c12234 + cde55bf commit 5dcd474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1536,7 +1536,7 @@
15361536
var errorStr;
15371537
if (!_.isObject(error)) {
15381538
errorStr = String(error);
1539-
} else if (!_.isError(Error)) {
1539+
} else if (!_.isError(error)) {
15401540
errorStr = join(error);
15411541
} else {
15421542
// Error#name and Error#message properties are non-enumerable.

0 commit comments

Comments
 (0)