File tree 1 file changed +3
-3
lines changed
packages/core/injector/topology-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 {
11
11
parent : null ,
12
12
} ) ;
13
13
this . links . set ( moduleRef , this . root ) ;
14
- this . traverseAndCloneTree ( this . root ) ;
14
+ this . traverseAndMapToTree ( this . root ) ;
15
15
}
16
16
17
17
public walk ( callback : ( value : Module , depth : number ) => void ) {
@@ -22,7 +22,7 @@ export class TopologyTree {
22
22
walkNode ( this . root ) ;
23
23
}
24
24
25
- private traverseAndCloneTree ( node : TreeNode < Module > , depth = 1 ) {
25
+ private traverseAndMapToTree ( node : TreeNode < Module > , depth = 1 ) {
26
26
node . value . imports . forEach ( child => {
27
27
if ( ! child ) {
28
28
return ;
@@ -48,7 +48,7 @@ export class TopologyTree {
48
48
49
49
this . links . set ( child , childNode ) ;
50
50
51
- this . traverseAndCloneTree ( childNode , depth + 1 ) ;
51
+ this . traverseAndMapToTree ( childNode , depth + 1 ) ;
52
52
} ) ;
53
53
}
54
54
}
You can’t perform that action at this time.
0 commit comments