Browse Source

Merge pull request #12784 from abpframework/auto-merge/rel-5-2/1116

Merge branch rel-5.3 with rel-5.2
pull/12785/head
Yunus Emre Kalkan 4 years ago
committed by GitHub
parent
commit
0379bf3aa0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/LIbs/InstallLibsService.cs

2
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/LIbs/InstallLibsService.cs

@ -253,7 +253,7 @@ public class InstallLibsService : IInstallLibsService, ITransientDependency
private bool IsYarnAvailable() private bool IsYarnAvailable()
{ {
var output = CmdHelper.RunCmdAndGetOutput("npm list yarn -g").Trim(); var output = CmdHelper.RunCmdAndGetOutput("npm list yarn -g --depth 0").Trim();
if (output.Contains("empty")) if (output.Contains("empty"))
{ {
return false; return false;

Loading…
Cancel
Save