File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3
3
## Unreleased
4
4
<!-- Add all new changes here. They will be moved under a version at release -->
5
5
* ` FIX ` A regression related to type narrow and generic param introduced since ` v3.10.1 `
6
+ * ` FIX ` Parse storagePath to improve reliability of resolving ${addons} placeholder
6
7
* ` FIX ` Reference should also look in tablefield
7
8
* ` FIX ` Determine that the index of ` {...} ` is an integer when iterating
8
9
Original file line number Diff line number Diff line change @@ -919,10 +919,10 @@ function m.resolvePathPlaceholders(path)
919
919
if addonsPath then
920
920
return addonsPath
921
921
end
922
- local client = require ' client'
923
- local storagePath = client .getOption (' storagePath' )
922
+ local client = require ( " client" )
923
+ local storagePath = client .getOption (" storagePath" )
924
924
if storagePath then
925
- addonsPath = storagePath .. " / addonManager/ addons"
925
+ addonsPath = ( fs . path ( storagePath ) / " addonManager" / " addons" ): string ()
926
926
else
927
927
-- Common path across OSes
928
928
local dataPath = " User/globalStorage/sumneko.lua/addonManager/addons"
You can’t perform that action at this time.
0 commit comments