We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6707a1e commit 5599f74Copy full SHA for 5599f74
apps/rush-lib/src/cli/actions/BaseInstallAction.ts
@@ -107,7 +107,7 @@ export abstract class BaseInstallAction extends BaseRushAction {
107
// Because the 'defautltValue' option on the _maxInstallAttempts parameter is set,
108
// it is safe to assume that the value is not null
109
if (this._maxInstallAttempts.value! < 1) {
110
- throw new Error(`The value of "${this._maxInstallAttempts.longName}" must be positive.`);
+ throw new Error(`The value of "${this._maxInstallAttempts.longName}" must be positive and nonzero.`);
111
}
112
113
const installManagerOptions: IInstallManagerOptions = this.buildInstallOptions();
0 commit comments