Skip to content

Commit

Permalink
fix: remove typo in error message of type-case
Browse files Browse the repository at this point in the history
  • Loading branch information
leohxj authored and marionebl committed Jan 9, 2018
1 parent 19a1862 commit cb577cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @commitlint/rules/src/type-case.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export default (parsed, when, value) => {
const result = ensure.case(type, value);
return [
negated ? !result : result,
message([`subject must`, negated ? `not` : null, `be ${value}`])
message([`type must`, negated ? `not` : null, `be ${value}`])
];
};

0 comments on commit cb577cb

Please sign in to comment.