From 8b49481c7ec4dc6e011442924d5a704297fdd91c Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 25 Aug 2019 09:32:47 +0800 Subject: fix nocache --- xmake/core/sandbox/modules/import/lib/luajit/bcsave.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/core/sandbox/modules/import/lib/luajit/bcsave.lua b/xmake/core/sandbox/modules/import/lib/luajit/bcsave.lua index 773b47f67..5c942970d 100644 --- a/xmake/core/sandbox/modules/import/lib/luajit/bcsave.lua +++ b/xmake/core/sandbox/modules/import/lib/luajit/bcsave.lua @@ -31,7 +31,7 @@ local raise = require("sandbox/modules/raise") -- function main(luafile, bcfile, opt) opt = opt or {} - local result, errors = loadfile(luafile, "bt", {displaypath = opt.displaypath, opt.nocache}) + local result, errors = loadfile(luafile, "bt", {displaypath = opt.displaypath, nocache = opt.nocache}) if not result then raise(errors) end -- cgit v1.3.1