@forsakringskassan/commitlint-config 1.3.0 → 1.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/dist/format.js +1 -2
- package/package.json +1 -1
package/dist/commitlint.js
CHANGED
|
@@ -259337,7 +259337,7 @@ var wildcards = [
|
|
|
259337
259337
|
test(/^((Merge pull request)|(Merge (.*?) into (.*?)|(Merge branch (.*?)))(?:\r?\n)*$)/m),
|
|
259338
259338
|
test(/^(Merge tag (.*?))(?:\r?\n)*$/m),
|
|
259339
259339
|
test(/^(R|r)evert (.*)/),
|
|
259340
|
-
test(/^(fixup|squash)!/),
|
|
259340
|
+
test(/^(amend|fixup|squash)!/),
|
|
259341
259341
|
isSemver,
|
|
259342
259342
|
test(/^(Merged (.*?)(in|into) (.*)|Merged PR (.*): (.*))/),
|
|
259343
259343
|
test(/^Merge remote-tracking branch(\s*)(.*)/),
|
package/dist/format.js
CHANGED
|
@@ -513,8 +513,7 @@ function formatInput(result, options = {}) {
|
|
|
513
513
|
}
|
|
514
514
|
const sign = "\u29D7";
|
|
515
515
|
const decoration = enabled ? source_default.gray(sign) : sign;
|
|
516
|
-
const
|
|
517
|
-
const decoratedInput = enabled ? source_default.bold(commitText) : commitText;
|
|
516
|
+
const decoratedInput = enabled ? source_default.bold(input) : input;
|
|
518
517
|
const hasProblems = errors.length > 0 || warnings.length > 0;
|
|
519
518
|
return options.verbose || hasProblems ? [`${decoration} input: ${decoratedInput}`] : [];
|
|
520
519
|
}
|