summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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