From d8e0d9fdde537bbafb244a60ebaa40b647481a5f Mon Sep 17 00:00:00 2001 From: daurnimator Date: Sat, 20 May 2017 12:55:04 +1000 Subject: tests/manual-tests/debug-cli.js: make executable, set WEB global, return 0 values --- tests/manual-tests/debug-cli.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) mode change 100644 => 100755 tests/manual-tests/debug-cli.js diff --git a/tests/manual-tests/debug-cli.js b/tests/manual-tests/debug-cli.js old mode 100644 new mode 100755 index 0bedf50..5fba8e5 --- 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); -- cgit v1.2.3-70-g09d2