Browse Source
Merge pull request #13266 from abpframework/enisn/exclude-abstract-bundlecontributors
Exclude abstract BundleContributors from `abp bundle` command
pull/13278/head
Enis Necipoglu
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs
|
|
|
@ -229,7 +229,7 @@ public class BundlingService : IBundlingService, ITransientDependency |
|
|
|
{ |
|
|
|
var bundleContributors = module.Assembly |
|
|
|
.GetTypes() |
|
|
|
.Where(t => t.IsAssignableTo<IBundleContributor>()) |
|
|
|
.Where(t => !t.IsAbstract && !t.IsInterface && t.IsAssignableTo<IBundleContributor>()) |
|
|
|
.ToList(); |
|
|
|
|
|
|
|
if (bundleContributors.Count > 1) |
|
|
|
|