Skip to content

Commit

Permalink
Remove unused argument in changelog method calls
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Nov 14, 2021
1 parent deb7c9a commit f31868e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/tasks.js
Expand Up @@ -65,7 +65,7 @@ const runTasks = async (opts, di) => {

const name = await reduceUntil(plugins, plugin => plugin.getName());
const latestVersion = (await reduceUntil(plugins, plugin => plugin.getLatestVersion())) || '0.0.0';
const changelog = await reduceUntil(plugins, plugin => plugin.getChangelog(latestVersion));
const changelog = await reduceUntil(plugins, plugin => plugin.getChangelog());

const incrementBase = { latestVersion, increment, isPreRelease, preReleaseId };

Expand Down
2 changes: 1 addition & 1 deletion test/util/index.js
Expand Up @@ -56,7 +56,7 @@ module.exports.runTasks = async plugin => {

const name = (await plugin.getName()) || '__test__';
const latestVersion = (await plugin.getLatestVersion()) || '1.0.0';
const changelog = (await plugin.getChangelog(latestVersion)) || null;
const changelog = (await plugin.getChangelog()) || null;
const increment = getIncrement(plugin, { latestVersion });

plugin.config.setContext({ name, latestVersion, latestTag: latestVersion, changelog });
Expand Down

0 comments on commit f31868e

Please sign in to comment.