Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5599f74

Browse files
sachinjosephiclanton
andauthored
Update apps/rush-lib/src/cli/actions/BaseInstallAction.ts
Co-Authored-By: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
1 parent 6707a1e commit 5599f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎apps/rush-lib/src/cli/actions/BaseInstallAction.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export abstract class BaseInstallAction extends BaseRushAction {
107107
// Because the 'defautltValue' option on the _maxInstallAttempts parameter is set,
108108
// it is safe to assume that the value is not null
109109
if (this._maxInstallAttempts.value! < 1) {
110-
throw new Error(`The value of "${this._maxInstallAttempts.longName}" must be positive.`);
110+
throw new Error(`The value of "${this._maxInstallAttempts.longName}" must be positive and nonzero.`);
111111
}
112112

113113
const installManagerOptions: IInstallManagerOptions = this.buildInstallOptions();

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /