File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -366,10 +366,10 @@ for $to-visualize.keys -> $module {
366
366
when ZefFailure { β crimsonβ }
367
367
when UnhandledException { β hotpinkβ }
368
368
}
369
- $ dot ~ = β "{ $ module . name } " [color=$ color ];\n β ;
369
+ $ dot ~ = β "{ $ module . handle } " [color=$ color ];\n β ;
370
370
for $ module . depends. keys {
371
371
next unless $ _ β $ to-visualize ;
372
- $ dot ~ = β "{ $ module . name } " -> "{ . name } ";\n β ;
372
+ $ dot ~ = β "{ $ module . handle } " -> "{ . handle } ";\n β ;
373
373
}
374
374
$ dot ~ = β \n β ;
375
375
}
Original file line number Diff line number Diff line change @@ -10,9 +10,13 @@ has Str @.errors;
10
10
has Bool $ . visited ;
11
11
has Promise $ . done = Promise . new ;
12
12
13
- method install-path {
13
+ method handle {
14
14
# TODO surely we can do better to ensure it won't clash
15
- β installed/β ~ $ . name ~ β _β ~ $ . version
15
+ $ . name ~ β _β ~ $ . version
16
+ }
17
+
18
+ method install-path {
19
+ β installed/β ~ self . handle
16
20
}
17
21
18
22
method deps ($ leaf = False ) {
You canβt perform that action at this time.
0 commit comments