summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2019-08-25 09:32:47 +0800
committerruki <[email protected]>2019-08-25 09:32:47 +0800
commit8b49481c7ec4dc6e011442924d5a704297fdd91c (patch)
treefc2cf812b519ae33a3a27d01446c11a560729ea2
parent6514385571fc00e18535a2f2e054177d91f867be (diff)
fix nocache
-rw-r--r--xmake/core/sandbox/modules/import/lib/luajit/bcsave.lua2
1 files changed, 1 insertions, 1 deletions
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