Skip to content

Commit

Permalink
fix: plugin discovery based on plugin type
Browse files Browse the repository at this point in the history
  • Loading branch information
kushsharma committed Aug 2, 2021
1 parent 7aca79c commit 872e8a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ func (s *registeredPlugins) GetCommandLines() []CommandLineMod {
func (s *registeredPlugins) GetTasks() []*Plugin {
var list []*Plugin
for _, unit := range s.data {
if unit.DependencyMod != nil {
if unit.Info().PluginType == PluginTypeTask {
list = append(list, unit)
}
}
Expand Down

0 comments on commit 872e8a1

Please sign in to comment.