Skip to content
Closed
Prev Previous commit
lint
  • Loading branch information
GeoffreyBooth committed Mar 28, 2024
commit d59bc954d367d9ee6e4f652df1a6782edbb90409
2 changes: 1 addition & 1 deletion src/node_errors.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ using v8::Value;
// If the second one returns true, rethrow the original exception.
// This is to keep the location of the original throw in JS.
static void TryCatchRethrow(const FunctionCallbackInfo<Value>& args) {
CHECK(args.Length() == 2);
CHECK_EQ(args.Length(), 2);
CHECK(args[0]->IsFunction());
CHECK(args[1]->IsFunction());

Expand Down