Skip to content


Fix a type bug in colorize function
Browse files Browse the repository at this point in the history
This bug was introduced by dd2f1d7 and reported by @kilbith
  • Loading branch information
Loïc Blot committed Mar 28, 2017
1 parent 7c85405 commit 1b299b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/common/misc_helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ else

function core.colorize(color, message)
local lines = message:split("\n", true)
local lines = tostring(message):split("\n", true)
local color_code = core.get_color_escape_sequence(color)

for i, line in ipairs(lines) do
Expand Down

0 comments on commit 1b299b4

Please sign in to comment.