Skip to content

Commit d1b001a

Browse files
fix: Fix CJS/ESM issue with @commitlint/parse
I can't believe these issues still exist, see evanw/esbuild#1719
1 parent c5fece7 commit d1b001a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/publish.mjs

+2-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ async function run() {
102102

103103
Promise.all(
104104
arr.map(async (d) => {
105-
const parsed = await parseCommit(d.subject)
105+
// @ts-ignore
106+
const parsed = await parseCommit.default(d.subject)
106107

107108
return { ...d, parsed }
108109
}),

0 commit comments

Comments
 (0)