Skip to content

Commit

Permalink
Fix location where the key is computed
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Sep 13, 2021
1 parent 9944364 commit 1d9aa35
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -93,12 +93,12 @@ public PluginVersionResult resolve( PluginVersionRequest request )
throws PluginVersionResolutionException
{
ConcurrentMap<String, PluginVersionResult> cache = getCache( request.getRepositorySession().getData() );
String key = getKey( request );

PluginVersionResult result = resolveFromProject( request );

if ( result == null )
{
String key = getKey( request );
result = cache.get( key );

if ( result == null )
Expand Down

0 comments on commit 1d9aa35

Please sign in to comment.