Skip to content

Commit ccf59b2

Browse files
committed
Merge branch 'sachinjoseph/support-custom-environment-variables-for-install-manager' of https://github.com/microsoft/web-build-tools into sachinjoseph/support-custom-environment-variables-for-install-manager
2 parents 485cd73 + 5599f74 commit ccf59b2

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)