Fix #119699

上级 b63cfb3a
......@@ -540,11 +540,16 @@ registerAction2(class extends Action2 {
}
run(accessor: ServicesAccessor) {
const gettingStartedService = accessor.get(IGettingStartedService);
const memento = new Memento('gettingStartedService', accessor.get(IStorageService));
const record = memento.getMemento(StorageScope.GLOBAL, StorageTarget.USER);
for (const key in record) {
if (Object.prototype.hasOwnProperty.call(record, key)) {
delete record[key];
try {
gettingStartedService.deprogressTask(key);
} catch (e) {
console.error(e);
}
}
}
memento.saveMemento();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册