提交 efc5b912 编写于 作者: S Sandeep Somavarapu

#91078 back up only disabled or marketplace extensions

上级 b9801745
......@@ -197,7 +197,9 @@ export class ExtensionsSynchroniser extends AbstractSynchroniser implements IUse
}
if (added.length || removed.length || updated.length) {
await this.backupLocal(VSBuffer.fromString(JSON.stringify(localExtensions)));
// back up all disabled or market place extensions
const backUpExtensions = localExtensions.filter(e => e.disabled || !!e.identifier.uuid);
await this.backupLocal(VSBuffer.fromString(JSON.stringify(backUpExtensions)));
skippedExtensions = await this.updateLocalExtensions(added, removed, updated, skippedExtensions);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册