File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -1297,22 +1297,14 @@ export class InstallManager {
1297
1297
// last install flag, which encapsulates the entire installation
1298
1298
args . push ( '--no-lock' ) ;
1299
1299
1300
- if ( ! this . _options . allowShrinkwrapUpdates ) {
1301
- if ( semver . gte ( this . _rushConfiguration . packageManagerToolVersion , '3.0.0' ) ) {
1302
- args . push ( '--frozen-lockfile' ) ;
1303
- } else {
1304
- args . push ( '--frozen-shrinkwrap' ) ;
1305
- }
1300
+ // Ensure that Rush's tarball dependencies get synchronized properly with the pnpm-lock.yaml file.
1301
+ // See this GitHub issue: https://github.com/pnpm/pnpm/issues/1342
1302
+ if ( semver . gte ( this . _rushConfiguration . packageManagerToolVersion , '3.0.0' ) ) {
1303
+ args . push ( '--no-prefer-frozen-lockfile' ) ;
1306
1304
} else {
1307
-
1308
- // Ensure that Rush's tarball dependencies get synchronized properly with the pnpm-lock.yaml file.
1309
- // See this GitHub issue: https://github.com/pnpm/pnpm/issues/1342
1310
- if ( semver . gte ( this . _rushConfiguration . packageManagerToolVersion , '3.0.0' ) ) {
1311
- args . push ( '--no-prefer-frozen-lockfile' ) ;
1312
- } else {
1313
- args . push ( '--no-prefer-frozen-shrinkwrap' ) ;
1314
- }
1305
+ args . push ( '--no-prefer-frozen-shrinkwrap' ) ;
1315
1306
}
1307
+
1316
1308
if ( options . collectLogFile ) {
1317
1309
args . push ( '--reporter' , 'ndjson' ) ;
1318
1310
}
You can’t perform that action at this time.
0 commit comments