Skip to content

Commit 083fa36

Browse files
committed
fix warning
1 parent 2550ffd commit 083fa36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: script/files.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ function m.resolvePathPlaceholders(path)
931931
addonsPath = "$APPDATA/Code/" .. dataPath
932932
elseif platform.os == "linux" then
933933
local serverPath = util.expandPath(fs.path("~/.vscode-server/data"):string())
934-
if fs.exists(serverPath) then
934+
if fs.exists(fs.path(serverPath)) then
935935
-- addons are installed via SSH remote
936936
addonsPath = serverPath .."/" .. dataPath
937937
else

0 commit comments

Comments
 (0)