summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-24 16:06:24 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-24 16:06:24 +0800
commitb667155e516e779f12b4e393f139d68fb0920709 (patch)
tree6ea94ae497c6c7667e47f3f6fedd177e8fc4eeea
parent66cec50a2ea00b82268f1006c2d11b3502a69db7 (diff)
downloadlua-language-server-b667155e516e779f12b4e393f139d68fb0920709.zip
dont skip
-rw-r--r--debugger.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/debugger.lua b/debugger.lua
index 151efc70..6cb34770 100644
--- a/debugger.lua
+++ b/debugger.lua
@@ -8,10 +8,6 @@ local luaDebugs = {}
for _, vscodePath in ipairs {'.vscode', '.vscode-insiders'} do
local extensionPath = fs.path(os.getenv 'USERPROFILE' or '') / vscodePath / 'extensions'
log.debug('Search extensions at:', extensionPath:string())
- if not fs.is_directory(extensionPath) then
- log.debug('Extension path is not a directory.')
- return
- end
for path in extensionPath:list_directory() do
if fs.is_directory(path) then