File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/core/injector/topology-tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export class TopologyTree {
1111 parent : null ,
1212 } ) ;
1313 this . links . set ( moduleRef , this . root ) ;
14- this . traverseAndCloneTree ( this . root ) ;
14+ this . traverseAndMapToTree ( this . root ) ;
1515 }
1616
1717 public walk ( callback : ( value : Module , depth : number ) => void ) {
@@ -22,7 +22,7 @@ export class TopologyTree {
2222 walkNode ( this . root ) ;
2323 }
2424
25- private traverseAndCloneTree ( node : TreeNode < Module > , depth = 1 ) {
25+ private traverseAndMapToTree ( node : TreeNode < Module > , depth = 1 ) {
2626 node . value . imports . forEach ( child => {
2727 if ( ! child ) {
2828 return ;
@@ -48,7 +48,7 @@ export class TopologyTree {
4848
4949 this . links . set ( child , childNode ) ;
5050
51- this . traverseAndCloneTree ( childNode , depth + 1 ) ;
51+ this . traverseAndMapToTree ( childNode , depth + 1 ) ;
5252 } ) ;
5353 }
5454}
You can’t perform that action at this time.
0 commit comments