We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae463c commit c335b74Copy full SHA for c335b74
src/node_url.cc
@@ -115,7 +115,7 @@ void BindingData::DomainToUnicode(const FunctionCallbackInfo<Value>& args) {
115
116
// TODO(@anonrig): Add V8 Fast API for CanParse method
117
void BindingData::CanParse(const FunctionCallbackInfo<Value>& args) {
118
- CHECK_GE(args.Length(), 2);
+ CHECK_GE(args.Length(), 1);
119
CHECK(args[0]->IsString()); // input
120
// args[1] // base url
121
0 commit comments