fix: Race condition in concurrent analyzer

This commit is contained in:
abhisek
2025-05-17 21:17:50 +05:30
parent f82ccb7756
commit 6cbba83cad
6 changed files with 89 additions and 15 deletions
+6 -1
View File
@@ -72,5 +72,10 @@ func (f *commonFlow) Run(ctx context.Context, args []string) error {
ui.Fatalf("Failed to create package manager guard: %s", err)
}
return proxy.Run(ctx, args)
err = proxy.Run(ctx, args)
if err != nil {
ui.Fatalf("pmg: failed to execute command: %s", err)
}
return err
}