Skip to content

Commit 32f9384

Browse files
committed
lib,src: lint and fix test
1 parent b29491f commit 32f9384

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/node_serdes.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ Maybe<bool> SerializerContext::IsHostObject(Isolate* isolate,
161161
}
162162

163163
bool is_domexception = false;
164-
if (!object->InstanceOf(env()->context(), domexception_ctor_val.As<Function>())
164+
if (!object
165+
->InstanceOf(env()->context(),
166+
domexception_ctor_val.As<Function>())
165167
.To(&is_domexception)) {
166168
return Nothing<bool>();
167169
}

test/parallel/test-v8-serdes-domexception.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use strict';
22

3+
require('../common');
34
const assert = require('node:assert');
45
const { serialize, deserialize } = require('node:v8');
56

0 commit comments

Comments
 (0)