We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1458139 + 1fadbf5 commit 2fac237Copy full SHA for 2fac237
main.lua
@@ -1,6 +1,7 @@
1
local currentPath = debug.getinfo(1, 'S').source:sub(2)
2
local rootPath = currentPath:gsub('[/\\]*[^/\\]-$', '')
3
-loadfile((rootPath == '' and '.' or rootPath) .. '/platform.lua')('script')
+rootPath = (rootPath == '' and '.' or rootPath)
4
+loadfile(rootPath .. '/platform.lua')('script')
5
local fs = require 'bee.filesystem'
6
7
local function expanduser(path)
0 commit comments