Skip to content

Commit

Permalink
Update src/rules/require-valid-changelog.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
  • Loading branch information
kanthesha and mcmire authored Apr 24, 2024
1 parent 7f2a10b commit 74f7b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/require-valid-changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default buildRule({
error.code === 'ERR_INVALID_JSON_FILE'
) {
throw new Error(
`${error.message}\n The package does not have a well-formed manifest. This is not the fault of the changelog, but this rule requires a valid package manifest.`,
`Tried to get version from package manifest in order to validate changelog, but manifest is not well-formed (${error.message}).`,
);
} else if (error instanceof ChangelogFormattingError) {
return fail([
Expand Down

0 comments on commit 74f7b7d

Please sign in to comment.