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

Skip to content

Commit b6e64e8

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ export class UpdateAction extends BaseInstallAction {
6464
networkConcurrency: this._networkConcurrencyParameter.value,
6565
collectLogFile: this._debugPackageManagerParameter.value!,
6666
variant: this._variant.value,
67-
maxInstallAttempts: this._maxInstallAttempts.value ? this._maxInstallAttempts.value :
68-
RushConstants.defaultMaxInstallAttempts
67+
maxInstallAttempts: this._maxInstallAttempts.value !== undefined
68+
? this._maxInstallAttempts.value
69+
: RushConstants.defaultMaxInstallAttempts
6970
};
7071
}
7172
}

0 commit comments

Comments
 (0)
0