We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 404b67a commit b6e64e8Copy full SHA for b6e64e8
apps/rush-lib/src/cli/actions/UpdateAction.ts
@@ -64,8 +64,9 @@ export class UpdateAction extends BaseInstallAction {
64
networkConcurrency: this._networkConcurrencyParameter.value,
65
collectLogFile: this._debugPackageManagerParameter.value!,
66
variant: this._variant.value,
67
- maxInstallAttempts: this._maxInstallAttempts.value ? this._maxInstallAttempts.value :
68
- RushConstants.defaultMaxInstallAttempts
+ maxInstallAttempts: this._maxInstallAttempts.value !== undefined
+ ? this._maxInstallAttempts.value
69
+ : RushConstants.defaultMaxInstallAttempts
70
};
71
}
72
0 commit comments