Skip to content

Commit b722774

Browse files
committed
Disable colorize in json raw output
1 parent 34211c9 commit b722774

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

mrblib/rf/00filter/json.rb

+1-5
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,7 @@ def format(val, record)
5050

5151
def string_to_json(str)
5252
if raw?
53-
if colorize
54-
JSON.colorize(str, JSON.color_string)
55-
else
56-
str
57-
end
53+
str
5854
else
5955
str.to_json(colorize:, pretty_print:)
6056
end

0 commit comments

Comments
 (0)