File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -603,6 +603,9 @@ func installDependenciesAndBuild() {
603
603
}
604
604
}
605
605
606
+ // Track all projects which could not be extracted successfully
607
+ var unsuccessfulProjects = []string {}
608
+
606
609
// Attempt to extract all workspaces; we will tolerate individual extraction failures here
607
610
for i , workspace := range workspaces {
608
611
goVersionInfo := workspace .RequiredGoVersion ()
@@ -639,13 +642,8 @@ func installDependenciesAndBuild() {
639
642
}
640
643
641
644
workspaces [i ].Extracted = extract (workspace )
642
- }
643
-
644
- // Find all projects which could not be extracted successfully
645
- var unsuccessfulProjects = []string {}
646
645
647
- for _ , workspace := range workspaces {
648
- if ! workspace .Extracted {
646
+ if ! workspaces [i ].Extracted {
649
647
unsuccessfulProjects = append (unsuccessfulProjects , workspace .BaseDir )
650
648
}
651
649
}
You can’t perform that action at this time.
0 commit comments