提交 1b9cd97c 编写于 作者: S Sandeep Somavarapu

Fix #97445

上级 73d41cd3
......@@ -76,8 +76,13 @@ export class ExtensionTipsService implements IExtensionTipsService {
});
}
});
const remotes = getDomainsOfRemotes(content.value.toString(), keys(recommendationByRemote));
remotes.forEach(remote => result.push(recommendationByRemote.get(remote)!));
const domains = getDomainsOfRemotes(content.value.toString(), keys(recommendationByRemote));
for (const domain of domains) {
const remote = recommendationByRemote.get(domain);
if (remote) {
result.push(remote);
}
}
} catch (error) { /* Ignore */ }
}
return result;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册