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 002e7f7 commit baad089Copy full SHA for baad089
lib/convert.ts
@@ -31,7 +31,7 @@ export default class Convert {
31
* to deal with http/https sources in the future.
32
*/
33
public static uriToPath(uri: string): string {
34
- const url = URL.parse(uri)
+ const url = URL.parse(uri) /*eslint node/no-deprecated-api: "warn"*/ // TODO
35
if (url.protocol !== "file:" || url.path === undefined || url.path === null) {
36
return uri
37
}
0 commit comments