Skip to content
Snippets Groups Projects
Commit 56f57a34 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

refactor: res valueToVersion

parent d3a477af
No related branches found
Tags postgres-1.4.2
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment