summaryrefslogtreecommitdiffhomepage
path: root/packages/app/src/context/global-sync
diff options
context:
space:
mode:
authorKit Langton <[email protected]>2026-04-15 20:45:19 -0400
committerGitHub <[email protected]>2026-04-15 20:45:19 -0400
commit3d6f90cb536ec30ff5091e1cbe3b1e619a93e1b0 (patch)
treeecdd8fa222dd57683298409ef0b84cfd1d1ebc24 /packages/app/src/context/global-sync
parenta554fad2327c68b2dc562a19e62a96415028b6d8 (diff)
downloadopencode-3d6f90cb536ec30ff5091e1cbe3b1e619a93e1b0.tar.gz
opencode-3d6f90cb536ec30ff5091e1cbe3b1e619a93e1b0.zip
feat: add oxlint with correctness defaults (#22682)
Diffstat (limited to 'packages/app/src/context/global-sync')
-rw-r--r--packages/app/src/context/global-sync/child-store.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/app/src/context/global-sync/child-store.ts b/packages/app/src/context/global-sync/child-store.ts
index 5678491f8..3fe67e4fb 100644
--- a/packages/app/src/context/global-sync/child-store.ts
+++ b/packages/app/src/context/global-sync/child-store.ts
@@ -243,8 +243,8 @@ export function createChildStoreManager(input: {
const cached = metaCache.get(directory)
if (!cached) return
const previous = store.projectMeta ?? {}
- const icon = patch.icon ? { ...(previous.icon ?? {}), ...patch.icon } : previous.icon
- const commands = patch.commands ? { ...(previous.commands ?? {}), ...patch.commands } : previous.commands
+ const icon = patch.icon ? { ...previous.icon, ...patch.icon } : previous.icon
+ const commands = patch.commands ? { ...previous.commands, ...patch.commands } : previous.commands
const next = {
...previous,
...patch,