提交 84490e07 编写于 作者: R Ramya Achutha Rao 提交者: Kai Maetzel

Avoid warning from URI.parse when url is file path

上级 b2a361e9
......@@ -71,6 +71,8 @@ function extractDomain(url: string): string {
let match = url.match(SshProtocolMatcher);
if (match) {
return stripLowLevelDomains(match[2]);
} else {
return null;
}
}
try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册