Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadia Bugarin authored and sachin-sandhu committed Aug 13, 2024
1 parent e894953 commit 144fc23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static async Task UpdateDependencyAsync(

// Get the set of all top-level dependencies in the current project
var topLevelDependencies = MSBuildHelper.GetTopLevelPackageDependencyInfos(buildFiles).ToArray();

if (!await DoesDependencyRequireUpdateAsync(repoRootPath, projectPath, tfms, topLevelDependencies, dependencyName, newDependencyVersion, logger))
{
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,15 @@ public PackageManager(string repoRoot, string projectPath)
continue;
}

try {
try
{
var existsInFeed = await feed.Exists(
packageIdentity,
includeUnlisted: false,
SourceCacheContext,
NullLogger.Instance,
cancellationToken);

if (!existsInFeed)
{
message.AppendLine($" package {packageIdentity} does not exist in {source.Name}");
Expand Down

0 comments on commit 144fc23

Please sign in to comment.