Skip to content

Commit

Permalink
refactor: res valueToVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Apr 17, 2021
1 parent d3a477a commit 56f57a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/workers/repository/process/lookup/index.ts
Expand Up @@ -318,8 +318,8 @@ export async function lookupUpdates(
}
}
if (versioning.valueToVersion) {
res.currentVersion = versioning.valueToVersion(res.currentVersion);
for (const update of res.updates || []) {
res.currentVersion = versioning.valueToVersion(res.currentVersion);
update.newVersion = versioning.valueToVersion(update.newVersion);
}
}
Expand Down

0 comments on commit 56f57a3

Please sign in to comment.