🔥 HistoryManager.prototype.importProjectHistory

This commit is contained in:
Antonio Scandurra
2017-03-10 14:37:49 +01:00
parent 7e761d39af
commit 337ad58434

View File

@@ -111,12 +111,6 @@ export class HistoryManager {
const projects = this.projects.map(p => ({paths: p.paths, lastOpened: p.lastOpened}))
await this.stateStore.save('history-manager', {projects})
}
async importProjectHistory () {
for (let project of await HistoryImporter.getAllProjects()) {
await this.addProject(project.paths, project.lastOpened)
}
}
}
function arrayEquivalent (a, b) {