We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 460b685 commit fd97051Copy full SHA for fd97051
source/index.js
@@ -1,4 +1,5 @@
1
import {sync as parse} from 'conventional-commits-parser';
2
+import {merge} from 'lodash';
3
4
export getConfiguration from './library/get-configuration';
5
export getMessages from './library/get-messages';
@@ -16,7 +17,10 @@ export default (message, options = {}) => {
16
17
}
18
} = options;
19
- const parsed = parse(message, parserOptions);
20
+ const parsed = merge(
21
+ {raw: message},
22
+ parse(message, parserOptions)
23
+ );
24
25
// wildcard matches skip the linting
26
const bails = Object.entries(wildcards || {})
0 commit comments