Skip to content

Commit

Permalink
fix: Fix CJS/ESM issue with @commitlint/parse
Browse files Browse the repository at this point in the history
I can't believe these issues still exist, see evanw/esbuild#1719
  • Loading branch information
lachlancollins committed May 29, 2023
1 parent c5fece7 commit d1b001a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/publish.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ async function run() {

Promise.all(
arr.map(async (d) => {
const parsed = await parseCommit(d.subject)
// @ts-ignore
const parsed = await parseCommit.default(d.subject)

return { ...d, parsed }
}),
Expand Down

0 comments on commit d1b001a

Please sign in to comment.