Skip to content

Commit

Permalink
Use named constant for default set of targets
Browse files Browse the repository at this point in the history
  • Loading branch information
rainersigwald committed Nov 10, 2023
1 parent d8d0458 commit e77aa19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ private async Task<CacheResult> GetCacheResultAsync(BuildRequestData buildReques

ErrorUtilities.VerifyThrow(plugin.Instance != null, "Plugin '{0}' instance is null", plugin.Name);

MSBuildEventSource.Log.ProjectCacheGetCacheResultStart(plugin.Name, buildRequest.ProjectFullPath, targetNames ?? "<default>");
MSBuildEventSource.Log.ProjectCacheGetCacheResultStart(plugin.Name, buildRequest.ProjectFullPath, targetNames ?? MSBuildConstants.DefaultTargetsMarker);
cacheResult = await plugin.Instance!.GetCacheResultAsync(buildRequest, pluginLogger, cancellationToken);

if (pluginLogger.HasLoggedErrors || cacheResult.ResultType == CacheResultType.None)
Expand Down

0 comments on commit e77aa19

Please sign in to comment.