提交 794330fb 编写于 作者: J Joao Moreno

ignore .git files for ext recommendations

fixes #86427
上级 c3c57ae3
......@@ -755,6 +755,11 @@ export class ExtensionTipsService extends Disposable implements IExtensionTipsSe
return;
}
// ignore .git files
if (fileExtension === 'git') {
return;
}
await this.extensionService.whenInstalledExtensionsRegistered();
const mimeTypes = guessMimeTypes(uri);
if (mimeTypes.length !== 1 || mimeTypes[0] !== MIME_UNKNOWN) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册