Skip to content

Commit cb577cb

Browse files
leohxjmarionebl
authored andcommitted
fix: remove typo in error message of type-case
1 parent 19a1862 commit cb577cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

@commitlint/rules/src/type-case.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ export default (parsed, when, value) => {
1313
const result = ensure.case(type, value);
1414
return [
1515
negated ? !result : result,
16-
message([`subject must`, negated ? `not` : null, `be ${value}`])
16+
message([`type must`, negated ? `not` : null, `be ${value}`])
1717
];
1818
};

0 commit comments

Comments
 (0)