Skip to content

Commit 2cd236b

Browse files
lachlancollinsescapedcat
authored andcommitted
fix: add named export to @commitlint/parse (#3614)
1 parent eea8da8 commit 2cd236b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

@commitlint/parse/src/index.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {Commit, Parser, ParserOptions} from '@commitlint/types';
33
const {sync} = require('conventional-commits-parser');
44
const defaultChangelogOpts = require('conventional-changelog-angular');
55

6-
export default async function parse(
6+
export async function parse(
77
message: string,
88
parser: Parser = sync,
99
parserOpts?: ParserOptions
@@ -18,3 +18,5 @@ export default async function parse(
1818
parsed.raw = message;
1919
return parsed;
2020
}
21+
22+
export default parse;

0 commit comments

Comments
 (0)