Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func runHandler(cmd *cobra.Command, args []string) error {
// else: fall through to use stale cache
} else {
if truncated {
logFn("[warn] repo zip truncated at 10 MB limit — large repos may produce incomplete graph analysis")
fmt.Fprintf(os.Stderr, "[warn] repo zip truncated at 10 MB limit — large repos may produce incomplete graph analysis\n")
}
apiClient := api.New(cfg.BaseURL, cfg.APIKey, debug, logFn)
freshGraph, err := fetchGraphWithCircularDeps(ctx, apiClient, proj.Name, zipData, logFn)
Expand Down Expand Up @@ -225,7 +225,7 @@ func runWithoutCache(cfg *config.Config, proj *project.Info, wm *project.Working
return silentExit()
}
if truncated {
logFn("[warn] repo zip truncated at 10 MB limit — large repos may produce incomplete graph analysis")
fmt.Fprintf(os.Stderr, "[warn] repo zip truncated at 10 MB limit — large repos may produce incomplete graph analysis\n")
}

apiClient := api.New(cfg.BaseURL, cfg.APIKey, debug, logFn)
Expand Down