fix corner case in strip_func_ids()

This commit is contained in:
alexlamsl 2018-04-19 04:21:19 +08:00
parent 7362f57966
commit 2902ba582e

View File

@ -40,7 +40,7 @@ function safe_log(arg, level) {
}
function strip_func_ids(text) {
return text.toString().replace(/F[0-9]{6}N/g, "<F<>N>");
return ("" + text).replace(/F[0-9]{6}N/g, "<F<>N>");
}
var context;