summaryrefslogtreecommitdiff
path: root/xmake/plugins/lua/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/lua/main.lua')
-rw-r--r--xmake/plugins/lua/main.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/xmake/plugins/lua/main.lua b/xmake/plugins/lua/main.lua
index 3da4ee4b8..f3e6f400d 100644
--- a/xmake/plugins/lua/main.lua
+++ b/xmake/plugins/lua/main.lua
@@ -73,15 +73,6 @@ function main()
end
end
- -- enable diagnosis to get the stack traceback
- local get_old = option.get
- option.get = function (name)
- if name == "diagnosis" then
- return true
- end
- return get_old(name)
- end
-
try {
function ()
if script then
@@ -101,7 +92,6 @@ function main()
},
finally {
function ()
- option.get = get_old
if scriptfile_stdin then
os.rm(scriptfile_stdin)
end