mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix dumb with JUnit and HTML output
This commit is contained in:
parent
09414e611b
commit
09dcbdb383
1 changed files with 2 additions and 1 deletions
|
@ -166,6 +166,7 @@ module Spectator
|
|||
json_option(parser, builder)
|
||||
tap_option(parser, builder)
|
||||
junit_option(parser, builder)
|
||||
html_option(parser, builder)
|
||||
no_color_option(parser, builder)
|
||||
end
|
||||
|
||||
|
@ -219,7 +220,7 @@ module Spectator
|
|||
end
|
||||
|
||||
# Adds the HTML output option to the parser.
|
||||
private def junit_option(parser, builder)
|
||||
private def html_option(parser, builder)
|
||||
parser.on("--html_output OUTPUT_DIR", "Generate HTML output") do |output_dir|
|
||||
Log.debug { "Setting output format to HTML (--html_output '#{output_dir}')" }
|
||||
formatter = Formatting::HTMLFormatter.new(output_dir)
|
||||
|
|
Loading…
Reference in a new issue