Browse Source
Merge pull request #19941 from abpframework/liangshiwei/cli
Enhancing the logic of CLI find projects
pull/19947/head
maliming
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/LIbs/InstallLibsService.cs
|
|
|
@ -107,7 +107,7 @@ public class InstallLibsService : IInstallLibsService, ITransientDependency |
|
|
|
{ |
|
|
|
return Directory.GetFiles(directory, "*.csproj", SearchOption.AllDirectories) |
|
|
|
.Union(Directory.GetFiles(directory, "angular.json", SearchOption.AllDirectories)) |
|
|
|
.Where(file => ExcludeDirectory.All(x => file.IndexOf(x, StringComparison.OrdinalIgnoreCase) == -1)) |
|
|
|
.Where(file => ExcludeDirectory.All(x => file.IndexOf(x + Path.DirectorySeparatorChar, StringComparison.OrdinalIgnoreCase) == -1)) |
|
|
|
.Where(file => |
|
|
|
{ |
|
|
|
if (file.EndsWith(".csproj")) |
|
|
|
|