mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Avoid errors deserializing 1.17 workspace state in prior Atom versions
This commit is contained in:
@@ -193,6 +193,9 @@ module.exports = class Workspace extends Model {
|
||||
deserializer: 'Workspace',
|
||||
packagesWithActiveGrammars: this.getPackageNamesWithActiveGrammars(),
|
||||
destroyedItemURIs: this.destroyedItemURIs.slice(),
|
||||
// Ensure deserializing 1.17 state with pre 1.17 Atom does not error
|
||||
// TODO: Remove after 1.17 has been on stable for a while
|
||||
paneContainer: {version: 2},
|
||||
paneContainers: {
|
||||
center: this.paneContainers.center.serialize(),
|
||||
left: this.paneContainers.left.serialize(),
|
||||
|
||||
Reference in New Issue
Block a user