mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
🔥 HistoryManager.prototype.importProjectHistory
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user