Skip to content

Commit

Permalink
fix: fix fallback version on cross-update
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Jun 25, 2022
1 parent 8addb37 commit d757329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/js/deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const updateDeps = async (pkg, packages) => {
const actual = dep?.version
const next = resolveVersion(version, actual, prev)

pkg[scope] = {...pkg[scope], [name]: next || version}
pkg[scope] = {...pkg[scope], [name]: next || prev}

if (!next) return

Expand Down

0 comments on commit d757329

Please sign in to comment.