summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index f61b0e32..e7bff185 100644
--- a/main.lua
+++ b/main.lua
@@ -68,6 +68,14 @@ log.info('LOGPATH:', LOGPATH)
log.info('METAPATH:', METAPATH)
log.info('VERSION:', version.getVersion())
+local stdRequire = require
+require = function (name)
+ if name == 'code_format' then
+ error('cannot found code_format')
+ end
+ return stdRequire(name)
+end
+
require 'tracy'
require 'cli'