提交 4fce928b 编写于 作者: A Alex Dima

Fixes #39637: A bit more checks for the cache contents

上级 2c987b22
......@@ -547,7 +547,7 @@ export class ExtensionService extends Disposable implements IExtensionService {
}
const cacheContents = await this._readExtensionCache(environmentService, cacheKey);
if (cacheContents && ExtensionScannerInput.equals(cacheContents.input, input)) {
if (cacheContents && cacheContents.input && ExtensionScannerInput.equals(cacheContents.input, input)) {
// Validate the cache asynchronously after 5s
setTimeout(async () => {
try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册