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 33## Unreleased
44<!-- Add all new changes here. They will be moved under a version at release -->
55* ` 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
67* ` FIX ` Reference should also look in tablefield
78* ` FIX ` Determine that the index of ` {...} ` is an integer when iterating
89
Original file line number Diff line number Diff line change @@ -919,10 +919,10 @@ function m.resolvePathPlaceholders(path)
919919 if addonsPath then
920920 return addonsPath
921921 end
922- local client = require ' client'
923- local storagePath = client .getOption (' storagePath' )
922+ local client = require ( " client" )
923+ local storagePath = client .getOption (" storagePath" )
924924 if storagePath then
925- addonsPath = storagePath .. " / addonManager/ addons"
925+ addonsPath = ( fs . path ( storagePath ) / " addonManager" / " addons" ): string ()
926926 else
927927 -- Common path across OSes
928928 local dataPath = " User/globalStorage/sumneko.lua/addonManager/addons"
You can’t perform that action at this time.
0 commit comments