We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 958074e commit c5c754dCopy full SHA for c5c754d
1 file changed
src/wizards/upgrade.js
@@ -130,7 +130,7 @@ module.exports = async ({
130
131
const packDir = resolve(packagesDir, pack);
132
133
- const installCmd = (await fileExists(resolve(packDir, "yarn.lock")))
+ const installCmd = (await fileExists(resolve(projectDir, "yarn.lock")))
134
? `yarn add ${targetDependency}@${targetVersion}`
135
: `npm install --save ${targetDependency}@${targetVersion}`;
136
0 commit comments