You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initialize default reports directory only when needed (#1294)
`report` subcommand had some code to initialize its defaults for the
output directory. This code was executed during the initialization of
the subcommand, that is allways executed.
When running any command out of a package directory, this initialization
fails, as it depends on the package directory, and it produces an error
message.
Move this initialization to the code that gets the parameter in the
`report` subcommand, so it is only executed there, and only if the user
has not provided a value for the flag.
constreportLongDescription=`Use this command to generate various reports relative to the packages. Currently, the following types of reports are available:
21
+
const (
22
+
benchmarksFolder="benchmark-report"
23
+
reportLongDescription=`Use this command to generate various reports relative to the packages. Currently, the following types of reports are available:
22
24
23
25
#### Benchmark report for Github
24
26
@@ -27,6 +29,7 @@ The report will show performance differences between both runs.
27
29
28
30
It is formatted as a Markdown Github comment to use as part of the CI results.
0 commit comments