@mutmutco/cli 3.23.0 → 3.24.0

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.
Files changed (2) hide show
  1. package/dist/main.cjs +2 -2
  2. package/package.json +1 -1
package/dist/main.cjs CHANGED
@@ -10229,12 +10229,12 @@ ${line}
10229
10229
  // src/issue-view-json.ts
10230
10230
  var DEFAULT_ISSUE_VIEW_FIELDS = "number,title,state,url,labels,author,assignees,milestone,body";
10231
10231
  function normalizeIssueViewJsonFields(tokens2) {
10232
- if (!tokens2 || tokens2.length === 0) return DEFAULT_ISSUE_VIEW_FIELDS;
10232
+ if (!Array.isArray(tokens2) || tokens2.length === 0) return DEFAULT_ISSUE_VIEW_FIELDS;
10233
10233
  const fields = tokens2.flatMap((token) => token.split(/[,\s]+/)).map((field) => field.trim()).filter(Boolean);
10234
10234
  return fields.length ? fields.join(",") : DEFAULT_ISSUE_VIEW_FIELDS;
10235
10235
  }
10236
10236
  function resolvePrViewFields(tokens2, defaultPrFields) {
10237
- const provided = tokens2 !== void 0 && tokens2.length > 0;
10237
+ const provided = Array.isArray(tokens2) && tokens2.length > 0;
10238
10238
  return provided ? normalizeIssueViewJsonFields(tokens2) : defaultPrFields;
10239
10239
  }
10240
10240
  function ensureField(fields, field) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutmutco/cli",
3
- "version": "3.23.0",
3
+ "version": "3.24.0",
4
4
  "description": "MMI Future CLI — the org dev toolbox (board, registry, keyless secrets, release train, bootstrap, doctor) and the cross-IDE engine the plugin's session-start hook drives.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",