summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]tests/manual-tests/debug-cli.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/manual-tests/debug-cli.js b/tests/manual-tests/debug-cli.js
index 0bedf50..5fba8e5 100644..100755
--- a/tests/manual-tests/debug-cli.js
+++ b/tests/manual-tests/debug-cli.js
@@ -1,5 +1,8 @@
+#!/usr/bin/env node
"use strict";
+global.WEB = false;
+
const lua = require('../../src/lua.js');
const lauxlib = require('../../src/lauxlib.js');
const lualib = require('../../src/lualib.js');
@@ -15,4 +18,4 @@ lualib.luaL_openlibs(L);
lauxlib.luaL_loadstring(L, lua.to_luastring(luaCode));
-lua.lua_call(L, 0, -1);
+lua.lua_call(L, 0, 0);