@forge/cli
12.22.012.22.0-experimental-04cc2b9
out/command-line/register-build-command-helpers.js~
out/command-line/register-build-command-helpers.jsModified+1−2
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,12 +1,11 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.parseLimit = void 0;
+exports.parseLimit = parseLimit;
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