mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-10 04:10:26 +00:00
refactor(electron): update store configuration (#22597)
This commit is contained in:
parent
c98f616385
commit
d7718d41d4
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ const cache = new Map<string, Store>()
|
|||
export function getStore(name = SETTINGS_STORE) {
|
||||
const cached = cache.get(name)
|
||||
if (cached) return cached
|
||||
const next = new Store({ name, fileExtension: "" })
|
||||
const next = new Store({ name, fileExtension: "", accessPropertiesByDotNotation: false })
|
||||
cache.set(name, next)
|
||||
return next
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue