Skip to content

Commit 46062f1

Browse files
iwulizRafaelGSS
authored andcommitted
src: change DCHECK to CHECK
PR-URL: #57948 Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Jake Yuesong Li <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 21d052a commit 46062f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_util.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ static void GetCallSites(const FunctionCallbackInfo<Value>& args) {
257257
CHECK_EQ(args.Length(), 1);
258258
CHECK(args[0]->IsNumber());
259259
const uint32_t frames = args[0].As<Uint32>()->Value();
260-
DCHECK(frames >= 1 && frames <= 200);
260+
CHECK(frames >= 1 && frames <= 200);
261261

262262
// +1 for disregarding node:util
263263
Local<StackTrace> stack = StackTrace::CurrentStackTrace(isolate, frames + 1);

0 commit comments

Comments
 (0)