You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// --no-deps flag was used so skip installing dependencies, but update the lock file so that it's in sync with the package.json
597
+
this.env.log.msg('Updating lockfile.');
598
+
if(this.env.config.get('npmClient')==='yarn'){
599
+
// Yarn doesn't have an out of the box way to update the lock file without performing an install so warn the user that the lockfile might be out of date
600
+
this.env.log.warn('Unable to update `yarn.lock` without installing dependencies. `yarn.lock` may be out of sync.');
601
+
}else{
602
+
// Perform an install that updates the lockfile without installing dependencies.
0 commit comments