Skip to content

Commit

Permalink
fix: fixes typos and wrong link in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
stalniy authored and pvdlg committed Jun 26, 2018
1 parent 562ad73 commit 3a09b0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/definitions/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ module.exports = {
EINVALIDCHANGELOGFILE: ({changelogFile}) => ({
message: 'Invalid `changelogFile` option.',
details: `The [changelogFile option](${linkify(
'README.md#changelogfile'
'README.md#options'
)}) option, if defined, must be a non empty \`String\`.
Your configuration for the \`assets\` option is \`${changelogFile}\`.`,
Your configuration for the \`changelogFile\` option is \`${changelogFile}\`.`,
}),
};
2 changes: 1 addition & 1 deletion test/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test.serial('Create new CHANGELOG.md', async t => {
t.deepEqual(t.context.log.args[0], ['Create %s', changelogFile]);
});

test.serial('Skip changelog update is the release is empty', async t => {
test.serial('Skip changelog update if the release is empty', async t => {
await outputFile('CHANGELOG.md', 'Initial CHANGELOG');

await t.context.m.prepare({}, {nextRelease: {}, options: {}, logger: t.context.logger});
Expand Down

0 comments on commit 3a09b0f

Please sign in to comment.