Skip to content

Commit

Permalink
Merge pull request #18852 from aloubyansky/s-refresh
Browse files Browse the repository at this point in the history
CLI: make --refresh work in combination with -S
  • Loading branch information
aloubyansky authored Jul 20, 2021
2 parents c10b430 + 9cf3566 commit d7f7573
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ ExtensionCatalog getExtensionCatalog(TargetQuarkusVersionGroup targetVersion, Ou
QuarkusProjectHelper.artifactResolver(), log);
}

refreshRegistryCache(log);

if (targetVersion.isStreamSpecified()) {
return catalogResolver.resolveExtensionCatalog(targetVersion.getStream());
}

refreshRegistryCache(log);
return catalogResolver.resolveExtensionCatalog();
}

Expand Down

0 comments on commit d7f7573

Please sign in to comment.