@emeryld/rrroutes-export 1.0.12 → 1.0.13

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/index.mjs CHANGED
@@ -1607,14 +1607,15 @@ async function filterCommits(cwd, commits, moduleCandidates, tsconfigRel) {
1607
1607
  return keep;
1608
1608
  }
1609
1609
  async function getCommitMetadata(cwd, commit) {
1610
- const out = await runGit(cwd, ["show", "-s", "--format=%H%x1f%aI%x1f%s", commit]);
1611
- const [sha, authorDate, subject] = out.split("");
1612
- if (!sha || !authorDate) {
1610
+ const out = await runGit(cwd, ["show", "-s", "--format=%H%x1f%aI%x1f%an%x1f%s", commit]);
1611
+ const [sha, authorDate, authorName, subject] = out.split("");
1612
+ if (!sha || !authorDate || !authorName) {
1613
1613
  throw new Error(`Unable to read commit metadata for ${commit}`);
1614
1614
  }
1615
1615
  return {
1616
1616
  sha,
1617
1617
  authorDate,
1618
+ authorName,
1618
1619
  subject: subject ?? ""
1619
1620
  };
1620
1621
  }