summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/ansi2json/state.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/ci/ansi2json/state.rb')
-rw-r--r--lib/gitlab/ci/ansi2json/state.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/ci/ansi2json/state.rb b/lib/gitlab/ci/ansi2json/state.rb
index 38d36e6950c..b2b6ce649ed 100644
--- a/lib/gitlab/ci/ansi2json/state.rb
+++ b/lib/gitlab/ci/ansi2json/state.rb
@@ -26,10 +26,11 @@ module Gitlab
Base64.urlsafe_encode64(state.to_json)
end
- def open_section(section, timestamp)
+ def open_section(section, timestamp, options)
@open_sections[section] = timestamp
@current_line.add_section(section)
+ @current_line.set_section_options(options)
@current_line.set_as_section_header
end