提交 a43df64f 编写于 作者: A Alex Dima

Fixes #55415

上级 44f8dfb5
......@@ -43,7 +43,7 @@ export class Link implements ILink {
resolve(token: CancellationToken): Thenable<URI> {
if (this._link.url) {
try {
return TPromise.as(URI.parse(this._link.url));
return Promise.resolve(URI.parse(this._link.url));
} catch (e) {
return TPromise.wrapError<URI>(new Error('invalid'));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册