Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cjihrig committed Jul 30, 2023
1 parent 6c679cc commit afa290d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/node_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,11 @@ static void GetCallerLocation(const FunctionCallbackInfo<Value>& args) {
}

Local<StackFrame> frame = trace->GetFrame(isolate, 1);
Local<Value> ret[] = {
Integer::New(isolate, frame->GetLineNumber()),
Integer::New(isolate, frame->GetColumn()),
frame->GetScriptNameOrSourceURL()
};
Local<Value> ret[] = {Integer::New(isolate, frame->GetLineNumber()),
Integer::New(isolate, frame->GetColumn()),
frame->GetScriptNameOrSourceURL()};

args.GetReturnValue().Set(
Array::New(args.GetIsolate(), ret, arraysize(ret)));
args.GetReturnValue().Set(Array::New(args.GetIsolate(), ret, arraysize(ret)));
}

static void IsArrayBufferDetached(const FunctionCallbackInfo<Value>& args) {
Expand Down

0 comments on commit afa290d

Please sign in to comment.