diff options
Diffstat (limited to 'src/lauxlib.js')
-rw-r--r-- | src/lauxlib.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lauxlib.js b/src/lauxlib.js index 51c5749..aafdfff 100644 --- a/src/lauxlib.js +++ b/src/lauxlib.js @@ -869,12 +869,8 @@ const lua_writestringerror = function() { for (let i=0; i<arguments.length; i++) { let a = arguments[i]; if (typeof process === "undefined") { - if (typeof a !== "string") - a = lua.to_jsstring(a); console.error(a); } else { - if (typeof a !== "string") - a = Uint8Array.from(a); process.stderr.write(a); } } |