@on-par/factory-cli 0.9.25-next.22 → 0.9.25-next.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -664,11 +664,11 @@ function branchPrefixOrExit(raw, configPath) {
664
664
  function sizeGateOrExit(raw) {
665
665
  if (raw === undefined)
666
666
  return undefined;
667
- const mode = parseSizeGateMode(raw);
667
+ const mode = parseSizeGateMode(aliasDeprecatedSizeGateMode(raw));
668
668
  if (mode === undefined) {
669
669
  throw new CliExitError(`factory: invalid --size-gate '${raw}' — expected one of: ${SIZE_GATE_MODES.join(', ')}`, 2);
670
670
  }
671
- return aliasDeprecatedSizeGateMode(mode);
671
+ return mode;
672
672
  }
673
673
  function maxSlicesOrExit(raw) {
674
674
  if (raw === undefined)