Skip to content

Commit 0c39aef

Browse files
committed
fixed linter error.
1 parent 1ec691e commit 0c39aef

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/node_url.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ constexpr auto lookup_table = []() consteval {
9393
case CHAR: \
9494
result[i] = {{'%', HEX_DIGIT_2, HEX_DIGIT_1, 0}}; \
9595
break;
96-
9796
ENCODE_CHAR('\0', '0', '0') // '\0' == 0x00
9897
ENCODE_CHAR('\t', '0', '9') // '\t' == 0x09
9998
ENCODE_CHAR('\n', '0', 'A') // '\n' == 0x0A
@@ -170,8 +169,9 @@ void BindingData::PathToFileURL(const FunctionCallbackInfo<Value>& args) {
170169
CHECK(args[2]->IsString());
171170
Utf8Value hostname(isolate, args[2]);
172171
if (!out->set_hostname(hostname.ToStringView())) {
173-
return ThrowInvalidURL(
174-
realm->env(), input.ToStringView(), std::string(hostname.ToStringView()));
172+
return ThrowInvalidURL(realm->env(),
173+
input.ToStringView(),
174+
std::string(hostname.ToStringView()));
175175
}
176176
}
177177

@@ -426,9 +426,9 @@ void BindingData::Parse(const FunctionCallbackInfo<Value>& args) {
426426
}
427427

428428
void BindingData::Update(const FunctionCallbackInfo<Value>& args) {
429-
CHECK(args[0]->IsString()); // href
430-
CHECK(args[1]->IsNumber()); // action type
431-
CHECK(args[2]->IsString()); // new value
429+
CHECK(args[0]->IsString()); // href
430+
CHECK(args[1]->IsNumber()); // action type
431+
CHECK(args[2]->IsString()); // new value
432432

433433
Realm* realm = Realm::GetCurrent(args);
434434
BindingData* binding_data = realm->GetBindingData<BindingData>();

0 commit comments

Comments
 (0)