提交 f5bf414f 编写于 作者: J Johannes Rieken

fix goto error issue

上级 5a184a40
...@@ -73,10 +73,13 @@ export class MarkerList { ...@@ -73,10 +73,13 @@ export class MarkerList {
} }
matches(uri: URI | undefined) { matches(uri: URI | undefined) {
if (!this._resourceFilter) { if (!this._resourceFilter && !uri) {
return true; return true;
} }
return uri && this._resourceFilter(uri); if (!this._resourceFilter || !uri) {
return false;
}
return this._resourceFilter(uri);
} }
get selected(): MarkerCoordinate | undefined { get selected(): MarkerCoordinate | undefined {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册