Merge pull request #4103 from gdlcf88/patch-1

Hide npm error in GetInstalledNpmPackages method
pull/4170/head
Yunus Emre Kalkan 5 years ago committed by GitHub
commit 3905f84570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,7 +31,7 @@ namespace Volo.Abp.Cli.ProjectModification
protected virtual string GetInstalledNpmPackages()
{
Logger.LogInformation("Checking installed npm global packages...");
return CmdHelper.RunCmdAndGetOutput("npm list -g --depth 0");
return CmdHelper.RunCmdAndGetOutput("npm list -g --depth 0 --silent");
}
protected virtual void InstallYarn()

Loading…
Cancel
Save