8000 Update apps/rush-lib/src/cli/actions/InstallAction.ts · JavaScriptExpert/rushstack@404b67a · GitHub
[go: up one dir, main page]

Skip to content

Commit 404b67a

Browse files
Update apps/rush-lib/src/cli/actions/InstallAction.ts
Co-Authored-By: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
1 parent 3993d2a commit 404b67a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/rush-lib/src/cli/actions/InstallAction.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ export class InstallAction extends BaseInstallAction {
3636
networkConcurrency: this._networkConcurrencyParameter.value,
3737
collectLogFile: this._debugPackageManagerParameter.value!,
3838
variant: this._variant.value,
39-
maxInstallAttempts: this._maxInstallAttempts.value ? this._maxInstallAttempts.value :
40-
549A RushConstants.defaultMaxInstallAttempts
39+
maxInstallAttempts: this._maxInstallAttempts.value !== undefined
40+
? this._maxInstallAttempts.value
41+
: RushConstants.defaultMaxInstallAttempts
4142
};
4243
}
4344
}

0 commit comments

Comments
 (0)
0