Skip to content
Permalink
Browse files

Fix a type bug in colorize function

This bug was introduced by dd2f1d7 and reported by @kilbith
  • Loading branch information...
Loïc Blot
Loïc Blot committed Mar 28, 2017
1 parent 7c85405 commit 1b299b40391b4ea0fe058b63aad14e3360e917d9
Showing with 1 addition and 1 deletion.
  1. +1 −1 builtin/common/misc_helpers.lua
@@ -667,7 +667,7 @@ else
end

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

0 comments on commit 1b299b4

Please sign in to comment.
You can’t perform that action at this time.