Skip to content

Commit bd1dfde

Browse files
leohxjmarionebl
authored andcommitted
fix type
1 parent 19a1862 commit bd1dfde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)