Skip to content

Commit e269cdd

Browse files
committed
fix(edam): store-prompt does not work
1 parent 911602d commit e269cdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/edam/src/core/storePrompts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ async function _store(cacheDir: string, source, promptValues) {
6060
const old = await _get(cacheDir)
6161
let key = getKeyBySource(source)
6262
// assign
63-
old[key] = { ...promptValues, ...old[key] }
63+
old[key] = { ...old[key], ...promptValues }
6464
await fileSystem.writeFile(filename, JSON.stringify(old))
6565
}
6666

0 commit comments

Comments
 (0)