Skip to content

Commit

Permalink
[atlas-core]cycle-dependencies fix
Browse files Browse the repository at this point in the history
  • Loading branch information
关杰 committed Apr 20, 2017
1 parent f3edcc3 commit 5889b43
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,9 @@ private void findBundleTransitively(String location,List<String> bundlesListForI
if(bundlesListForInstall.contains(location)){
return;
}
if(!bundlesListForInstall.contains(location)) {
bundlesListForInstall.add(0,location);
}
List<String> singleLevelDependencies = AtlasBundleInfoManager.instance().getDependencyForBundle(location);
if(singleLevelDependencies!=null){
for(String dependepcy : singleLevelDependencies){
Expand All @@ -461,9 +464,6 @@ private void findBundleTransitively(String location,List<String> bundlesListForI
}
}
}
if(!bundlesListForInstall.contains(location)) {
bundlesListForInstall.add(location);
}
}


Expand Down

0 comments on commit 5889b43

Please sign in to comment.