Skip to content

Commit

Permalink
fix(edam): store-prompt does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
imcuttle committed Jan 30, 2019
1 parent 911602d commit e269cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edam/src/core/storePrompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async function _store(cacheDir: string, source, promptValues) {
const old = await _get(cacheDir)
let key = getKeyBySource(source)
// assign
old[key] = { ...promptValues, ...old[key] }
old[key] = { ...old[key], ...promptValues }
await fileSystem.writeFile(filename, JSON.stringify(old))
}

Expand Down

0 comments on commit e269cdd

Please sign in to comment.