Skip to content

Commit 1948ee0

Browse files
committed
src, test: lint fixes
1 parent b62c955 commit 1948ee0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/node_sqlite.cc

+7-2
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,14 @@ void DatabaseSync::ApplyChangeset(const FunctionCallbackInfo<Value>& args) {
318318

319319
Local<Object> options = args[1].As<Object>();
320320

321-
Local<String> conflictKey = String::NewFromUtf8(env->isolate(), "onConflict", v8::NewStringType::kNormal).ToLocalChecked();
321+
Local<String> conflictKey = String::NewFromUtf8(
322+
env->isolate(),
323+
"onConflict",
324+
v8::NewStringType::kNormal).ToLocalChecked();
322325
if (options->HasOwnProperty(env->context(), conflictKey).FromJust()) {
323-
Local<Value> conflictValue = options->Get(env->context(), conflictKey).ToLocalChecked();
326+
Local<Value> conflictValue = options->Get(
327+
env->context(),
328+
conflictKey).ToLocalChecked();
324329

325330
if (!conflictValue->IsNumber()) {
326331
node::THROW_ERR_INVALID_ARG_TYPE(

0 commit comments

Comments
 (0)