chore: only print errors if there are any
@@ -296,5 +296,7 @@ func logCollectedErrors(stderr io.Reader) {
if err != nil {
log.Println(err)
}
+ if len(errors) > 0 {
log.Println("Error extracting modules:\n\t", strings.Join(errors, "\n\t"))
}
+}
