@theholocron/cli 3.24.2 → 3.24.3

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.mjs CHANGED
@@ -4340,7 +4340,7 @@ function parseWorkflowsFromTs(source) {
4340
4340
  const body = source.slice(start, i - 1);
4341
4341
  const entries = [];
4342
4342
  const objSpans = [];
4343
- const objRe = /\{\s*name\s*:\s*"([^"]+)"(?:\s*,\s*with\s*:\s*(\{[^}]*\}))?\s*,?\s*\}/g;
4343
+ const objRe = /\{\s*name\s*:\s*"([^"]+)"(?:\s*,\s*with\s*:\s*(\{[^}]*\}))?(?:\s*,[^}]*)?\s*,?\s*\}/g;
4344
4344
  let m;
4345
4345
  while ((m = objRe.exec(body)) !== null) {
4346
4346
  objSpans.push([m.index, m.index + m[0].length]);