We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b815469 commit 03a5d0eCopy full SHA for 03a5d0e
script/files.lua
@@ -919,10 +919,10 @@ function m.resolvePathPlaceholders(path)
919
if addonsPath then
920
return addonsPath
921
end
922
- local client = require 'client'
923
- local storagePath = client.getOption('storagePath')
+ local client = require("client")
+ local storagePath = fs.path(client.getOption("storagePath"))
924
if storagePath then
925
- addonsPath = storagePath .. "/addonManager/addons"
+ addonsPath = (storagePath / "addonManager/addons"):string()
926
else
927
-- Common path across OSes
928
local dataPath = "User/globalStorage/sumneko.lua/addonManager/addons"
0 commit comments