Skip to content

Commit

Permalink
chore: remove duplicate update.newVersion set
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Apr 17, 2021
1 parent 4fb024e commit 61095e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/workers/repository/process/lookup/index.ts
Expand Up @@ -321,7 +321,6 @@ export async function lookupUpdates(
}
if (versioning.valueToVersion) {
for (const update of res.updates || []) {
update.newVersion = versioning.valueToVersion(update.newValue);
res.currentVersion = versioning.valueToVersion(res.currentVersion);
update.newVersion = versioning.valueToVersion(update.newVersion);
}
Expand Down

0 comments on commit 61095e9

Please sign in to comment.