fix corner case in strip_func_ids() (#3090)

This commit is contained in:
Alex Lam S.L
2018-04-19 04:51:42 +08:00
committed by GitHub
parent 7362f57966
commit d83c6490ab

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;