提交 a2100b1e 编写于 作者: M Matt Bierner

Use some

上级 c78dafa2
......@@ -49,11 +49,8 @@ export class CodeActionOracle {
private _onMarkerChanges(resources: URI[]): void {
const { uri } = this._editor.getModel();
for (const resource of resources) {
if (resource.toString() === uri.toString()) {
this.trigger({ type: 'auto' });
return;
}
if (resources.some(resource => resource.toString() === uri.toString())) {
this.trigger({ type: 'auto' });
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册