Open linonetwo opened 3 years ago
This is caused by quickly call await settings.set(
workspaces.${id}, { ...workspace });
in
public async set(id: string, workspace: IWorkspace): Promise<void> {
this.workspaces[id] = this.sanitizeWorkspace(workspace);
await this.reactBeforeWorkspaceChanged(workspace);
await settings.set(`workspaces.${id}`, { ...workspace });
await this.updateWorkspaceSubject();
await this.updateWorkspaceMenuItems();
}
I fixed broken json using best-effort-json-parser
package.
Ah, fair. I guess I misunderstood your initial ticket :)
Look at the
}}}ransparentBackground":false}}}
in the end, probably this is the result of disablingatomicSave
in https://github.com/nathanbuchar/electron-settings/issues/159?