Skip to content

Commit

Permalink
increase upgrade performance
Browse files Browse the repository at this point in the history
  • Loading branch information
maradotwebp committed Apr 17, 2022
1 parent 2210ae0 commit 348a996
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cmd/upgrade.nim
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ proc paxUpgrade*(strategy: string): void =

returnIfNot promptYN($fileCount & " mods will be updated to the " & $strategy & " version. Do you want to continue?", default = true)

let mcModRequests = manifest.files.map((x) => fetchAddon(x.projectId))
let mcMods = manifest.files.map((x) => x.projectId).fetchAddons
let mcModFilesRequests = manifest.files.map((x) => fetchAddonFiles(x.projectId))
let mcMods = all(mcModRequests)
let mcModFiles = all(mcModFilesRequests)

echoInfo "Loading mods.."
Expand Down

0 comments on commit 348a996

Please sign in to comment.