Skip to content

Commit 5599f74

Browse files
Update apps/rush-lib/src/cli/actions/BaseInstallAction.ts
Co-Authored-By: Ian Clanton-Thuon <[email protected]>
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)