Merge pull request #16441 from abpframework/liangshiwei/cli

Output the message if the package is installed
pull/16446/head
maliming 2 years ago committed by GitHub
commit 332d7d52ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -248,6 +248,7 @@ public class ProjectNugetPackageAdder : ITransientDependency
if (projectFileContent.Contains($"\"{package.Name}\""))
{
Logger.LogInformation($"Package '{package.Name}' is already installed to the project '{Path.GetFileNameWithoutExtension(projectFile)}'.");
return;
}

Loading…
Cancel
Save