Skip to content

Commit

Permalink
Update src/node_sqlite.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <[email protected]>
  • Loading branch information
himself65 and aduh95 authored Jan 3, 2025
1 parent d85a1e2 commit 7004f1b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/node_sqlite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -930,8 +930,7 @@ bool StatementSync::BindParams(const FunctionCallbackInfo<Value>& args) {
int anon_idx = 1;
int anon_start = 0;

if (args[0]->IsObject() && !args[0]->IsArrayBufferView() &&
!args[0]->IsDataView()) {
if (args[0]->IsObject() && !args[0]->IsArrayBufferView()) {
Local<Object> obj = args[0].As<Object>();
Local<Context> context = obj->GetIsolate()->GetCurrentContext();
Local<Array> keys;
Expand Down

0 comments on commit 7004f1b

Please sign in to comment.