Skip to content

Commit

Permalink
sqlite: run format
Browse files Browse the repository at this point in the history
  • Loading branch information
louwers committed Nov 16, 2024
1 parent 80725c5 commit c3cf3f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/node_sqlite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ void DatabaseSync::CreateSession(const FunctionCallbackInfo<Value>& args) {
if (options->HasOwnProperty(env->context(), table_key).FromJust()) {
Local<Value> table_value;
if (!options->Get(env->context(), table_key).ToLocal(&table_value)) {
return;
return;
}

if (table_value->IsString()) {
Expand Down Expand Up @@ -456,7 +456,8 @@ void DatabaseSync::ApplyChangeset(const FunctionCallbackInfo<Value>& args) {
String::NewFromUtf8(
env->isolate(), "onConflict", NewStringType::kNormal)
.ToLocalChecked();
Local<Value> conflictValue = options->Get(env->context(), conflictKey).ToLocalChecked();
Local<Value> conflictValue =
options->Get(env->context(), conflictKey).ToLocalChecked();

if (!conflictValue->IsUndefined()) {
if (!conflictValue->IsNumber()) {
Expand Down

0 comments on commit c3cf3f3

Please sign in to comment.