debian-mirror-gitlab/lib/gitlab/ci/ansi2json.rb
2023-06-20 00:43:36 +05:30

12 lines
274 B
Ruby

# frozen_string_literal: true
# Convert terminal stream to JSON
module Gitlab
module Ci
module Ansi2json
def self.convert(ansi, state = nil, verify_state: false)
Converter.new.convert(ansi, state, verify_state: verify_state)
end
end
end
end