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

Commit

Permalink
Merge pull request #3 from cthulhu-node/fix-error-check
Browse files Browse the repository at this point in the history
fix error check
  • Loading branch information
Uzlopak authored Mar 7, 2022
2 parents 7c12234 + cde55bf commit 5dcd474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -1536,7 +1536,7 @@
var errorStr;
if (!_.isObject(error)) {
errorStr = String(error);
} else if (!_.isError(Error)) {
} else if (!_.isError(error)) {
errorStr = join(error);
} else {
// Error#name and Error#message properties are non-enumerable.
Expand Down

0 comments on commit 5dcd474

Please sign in to comment.