@html-validate/commitlint-config 4.3.1 → 4.3.2
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/commitlint.js +1 -1
- package/package.json +1 -1
package/dist/commitlint.js
CHANGED
|
@@ -2057,7 +2057,7 @@ function getNotesRegex(noteKeywords, notesPattern) {
|
|
|
2057
2057
|
}
|
|
2058
2058
|
const noteKeywordsSelection = joinOr(noteKeywords);
|
|
2059
2059
|
if (!notesPattern) {
|
|
2060
|
-
return new RegExp(`^
|
|
2060
|
+
return new RegExp(`^(?:\\*\\s+)?(${noteKeywordsSelection}):\\s*(.*)`, "i");
|
|
2061
2061
|
}
|
|
2062
2062
|
return notesPattern(noteKeywordsSelection);
|
|
2063
2063
|
}
|