-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(node/_error): Implement ERR_INVALID_URL_SCHEME
#1355
Conversation
@@ -2395,3 +2394,16 @@ export class ERR_INVALID_URL extends NodeTypeError { | |||
this.input = input; | |||
} | |||
} | |||
|
|||
export class ERR_INVALID_URL_SCHEME extends NodeTypeError { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -10,8 +10,6 @@ Deno.test({ | |||
}, | |||
}); | |||
|
|||
// todo(wafuwafu13) Add Windows and invalid case |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related: #1335 (review)
I don't know why |
This will be fixed once denoland/deno#12348 lands |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wafuwafu13 LGTM. Nice work!
@@ -6,8 +6,7 @@ | |||
], | |||
"parallel": [ | |||
"test-assert-async.js", | |||
"test-assert.js", | |||
"test-url-fileurltopath.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Part of #911
ERR_INVALID_URL_SCHEME
ERR_INVALID_URL_SCHEME
config.json