diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-03 19:18:47 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-03 19:43:06 +1000 |
commit | b575979804c25aec993e7699b2ec00265d5b70ff (patch) | |
tree | 31a9f077be70e1c3b366516a896feaf8f4b2e8c2 /src/loslib.js | |
parent | 735bc392056f7c55c981b68feb941bf1cc5a8ff3 (diff) | |
download | fengari-b575979804c25aec993e7699b2ec00265d5b70ff.tar.gz fengari-b575979804c25aec993e7699b2ec00265d5b70ff.tar.bz2 fengari-b575979804c25aec993e7699b2ec00265d5b70ff.zip |
src/lauxlib: Rewrite luaL_execresult
Diffstat (limited to 'src/loslib.js')
-rw-r--r-- | src/loslib.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/loslib.js b/src/loslib.js index 6fd5247..b93071b 100644 --- a/src/loslib.js +++ b/src/loslib.js @@ -247,10 +247,10 @@ if (typeof require === "function") { } ); } catch (e) { - return lauxlib.luaL_execresult(L, false, e); + return lauxlib.luaL_execresult(L, e); } - return lauxlib.luaL_execresult(L, true); + return lauxlib.luaL_execresult(L, null); } else { try { child_process.execSync( |