mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
topological sort is only for active modules.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4746 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
b7a8c20efa
commit
abf398b20f
1 file changed
+1
-1
@@ -146,7 +146,7 @@ public final class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,Ma
|
||||
* or all enabeld modules (if disabled==false)
|
||||
*/
|
||||
public List<MavenModule> getDisabledModules(boolean disabled) {
|
||||
if(sortedActiveModules!=null)
|
||||
if(!disabled && sortedActiveModules!=null)
|
||||
return sortedActiveModules;
|
||||
|
||||
List<MavenModule> r = new ArrayList<MavenModule>();
|
||||
|
||||
Reference in new issue
Block a user