提交 883a04e8 编写于 作者: A Alex Dima

Do not search for empty glob patterns (#34487)

上级 b545921a
......@@ -204,6 +204,10 @@ export class ExtensionHostMain {
}
private async activateIfGlobPatterns(extensionId: string, globPatterns: string[]): TPromise<void> {
if (globPatterns.length === 0) {
return TPromise.as(void 0);
}
if (!this._diskSearch) {
// Shut down this search process after 1s
this._diskSearch = new DiskSearch(false, 1000);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册