@rushstack/ts-command-line
Advanced tools
Comparing version 4.13.0 to 4.13.1
@@ -979,3 +979,3 @@ /** | ||
*/ | ||
protected abstract onDefineUnscopedParameters(): void; | ||
protected onDefineUnscopedParameters?(): void; | ||
/** | ||
@@ -982,0 +982,0 @@ * The child class should implement this hook to define its scoped command-line |
@@ -69,3 +69,3 @@ import { SCOPING_PARAMETER_GROUP } from '../Constants'; | ||
*/ | ||
protected abstract onDefineUnscopedParameters(): void; | ||
protected onDefineUnscopedParameters?(): void; | ||
/** | ||
@@ -72,0 +72,0 @@ * The child class should implement this hook to define its scoped command-line |
@@ -135,3 +135,4 @@ "use strict"; | ||
onDefineParameters() { | ||
this.onDefineUnscopedParameters(); | ||
var _a; | ||
(_a = this.onDefineUnscopedParameters) === null || _a === void 0 ? void 0 : _a.call(this); | ||
if (!this._scopingParameters.length) { | ||
@@ -138,0 +139,0 @@ throw new Error('No scoping parameters defined. At least one scoping parameter must be defined. ' + |
{ | ||
"name": "@rushstack/ts-command-line", | ||
"version": "4.13.0", | ||
"version": "4.13.1", | ||
"description": "An object-oriented command-line parser for TypeScript", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
374225
4305