Skip to content

Commit 5600ff1

Browse files
committed
Apply linter
1 parent 4cac345 commit 5600ff1

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

src/inspector_js_api.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ using v8::HandleScope;
2222
using v8::Isolate;
2323
using v8::Local;
2424
using v8::MaybeLocal;
25-
using v8::NewStringType;
2625
using v8::Object;
2726
using v8::String;
2827
using v8::Uint32;

src/util-inl.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,15 @@ inline v8::Local<v8::String> OneByteString(v8::Isolate* isolate,
215215
}
216216

217217
v8::MaybeLocal<v8::String> StringViewToV8String(
218-
v8::Isolate* isolate,
219-
v8_inspector::StringView string) {
218+
v8::Isolate* isolate, v8_inspector::StringView string) {
220219
if (string.is8Bit()) {
221220
return v8::String::NewFromOneByte(isolate,
222221
string.characters8(),
223222
v8::NewStringType::kNormal,
224223
string.length());
225224
}
226-
return v8::String::NewFromTwoByte(isolate, string.characters16(),
225+
return v8::String::NewFromTwoByte(isolate,
226+
string.characters16(),
227227
v8::NewStringType::kNormal,
228228
string.length());
229229
}

src/util.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
2626

2727
#include "uv.h"
28-
#include "v8.h"
2928
#include "v8-inspector.h"
29+
#include "v8.h"
3030

3131
#include "node.h"
3232
#include "node_exit_code.h"
@@ -356,9 +356,7 @@ inline v8::Local<v8::String> FIXED_ONE_BYTE_STRING(
356356

357357
// Convenience wrapper to handle both one- and two-byte inspector strings.
358358
inline v8::MaybeLocal<v8::String> StringViewToV8String(
359-
v8::Isolate* isolate,
360-
v8_inspector::StringView string);
361-
359+
v8::Isolate* isolate, v8_inspector::StringView string);
362360

363361
// Swaps bytes in place. nbytes is the number of bytes to swap and must be a
364362
// multiple of the word size (checked by function).

0 commit comments

Comments
 (0)