2019-12-21 20:55:43 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# Convert terminal stream to JSON
|
|
|
|
module Gitlab
|
|
|
|
module Ci
|
|
|
|
module Ansi2json
|
2023-07-09 08:55:56 +05:30
|
|
|
def self.convert(ansi, state = nil)
|
|
|
|
Converter.new.convert(ansi, state)
|
2019-12-21 20:55:43 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|