We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1458139 commit 1fadbf5Copy full SHA for 1fadbf5
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