(m string)
| 815 | } |
| 816 | |
| 817 | func (t *App) isModuleActive(m string) bool { |
| 818 | if t.cfg.Target == m { |
| 819 | return true |
| 820 | } |
| 821 | if t.recursiveIsModuleActive(t.cfg.Target, m) { |
| 822 | return true |
| 823 | } |
| 824 | |
| 825 | return false |
| 826 | } |
| 827 | |
| 828 | func (t *App) recursiveIsModuleActive(target, m string) bool { |
| 829 | if targetDeps, ok := t.deps[target]; ok { |
no test coverage detected