Skip to content

Commit

Permalink
fix(cli): run dedupe after installing a redwood plugin (#9199)
Browse files Browse the repository at this point in the history
May fix #9198.
  • Loading branch information
jtoar committed Sep 18, 2023
1 parent a945416 commit ae862d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cli/src/lib/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ export async function installRedwoodModule(module) {
stdio: 'inherit',
cwd: getPaths().base,
})
await execa.command(`yarn dedupe`, {
stdio: 'inherit',
cwd: getPaths().base,
})
return true
}
return false
Expand Down

0 comments on commit ae862d6

Please sign in to comment.