Skip to content

Commit 4705fc6

Browse files
Update scripts.lua
1 parent c9b8a1c commit 4705fc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ local function merge_log(record)
468468

469469
local first_line = str:match("[^\n]+")
470470
pos = str.len(first_line) + 1
471-
first_line_msg = str:match("[^\\\n]+")
471+
first_line_msg = str:match("(.*)\\n")
472472
-- record["time"] = first_line:match("\"time\":\"([^/]+)\"")
473473
table.insert(buff,first_line_msg)
474474

0 commit comments

Comments
 (0)