Skip to content

Commit 872e8a1

Browse files
committed
fix: plugin discovery based on plugin type
1 parent 7aca79c commit 872e8a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ func (s *registeredPlugins) GetCommandLines() []CommandLineMod {
401401
func (s *registeredPlugins) GetTasks() []*Plugin {
402402
var list []*Plugin
403403
for _, unit := range s.data {
404-
if unit.DependencyMod != nil {
404+
if unit.Info().PluginType == PluginTypeTask {
405405
list = append(list, unit)
406406
}
407407
}

0 commit comments

Comments
 (0)