Skip to content

Commit

Permalink
Don't clear available modules till after the new list is ready
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Dec 31, 2017
1 parent 8fc982b commit 8d73776
Show file tree
Hide file tree
Showing 6 changed files with 218 additions and 174 deletions.
2 changes: 1 addition & 1 deletion Cmdline/Action/Update.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private void UpdateRepository(CKAN.KSP ksp, string repository = null)

var updated = repository == null
? CKAN.Repo.UpdateAllRepositories(registry_manager, ksp, user)
: CKAN.Repo.Update(registry_manager, ksp, user, true, repository);
: CKAN.Repo.Update(registry_manager, ksp, user, repository);

user.RaiseMessage("Updated information on {0} available modules", updated);
}
Expand Down
Loading

0 comments on commit 8d73776

Please sign in to comment.