mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-11 08:55:27 +03:00
✨ announce where results are written (#4132)
Before this change, when running with '-o foo' the output would end with: ``` RESULTS ------- ``` This was rather confusing. There's of course many ways to make this more clear, this commit adds a log line announcing where the output is written to: ``` RESULTS ------- Writing to foo ``` Signed-off-by: Arnout Engelen <arnout@bzzt.net>
This commit is contained in:
parent
7e7e2f5818
commit
3da6db56c9
@ -134,6 +134,7 @@ func FormatResults(
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to create output file: %w", err)
|
||||
}
|
||||
fmt.Fprintln(os.Stderr, "Writing results to", opts.ResultsFile)
|
||||
defer output.Close()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user