@forge/cli
12.22.0-experimental-04cc2b912.23.0-next.7-experimental-44b7a12
out/command-line/register-build-command-helpers.js~
out/command-line/register-build-command-helpers.jsModified+2−1
Index: package/out/command-line/register-build-command-helpers.js
===================================================================
--- package/out/command-line/register-build-command-helpers.js
+++ package/out/command-line/register-build-command-helpers.js
@@ -1,11 +1,12 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.parseLimit = parseLimit;
+exports.parseLimit = void 0;
const cli_shared_1 = require("@forge/cli-shared");
function parseLimit(limitStr) {
if (!limitStr?.trim().match(/^[1-9]\d*$/)) {
throw new cli_shared_1.ValidationError(cli_shared_1.Text.build.list.error.invalidLimit);
}
return parseInt(limitStr.trim(), 10);
}
+exports.parseLimit = parseLimit;
//# sourceMappingURL=register-build-command-helpers.js.map
\ No newline at end of file