diff options
author | sumneko <sumneko@hotmail.com> | 2019-05-27 09:59:13 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-05-27 09:59:13 +0800 |
commit | 85328f177a6783fab57283b28a0ce9ff0f32402f (patch) | |
tree | 7621c661f9440daf1aee3b5aaecc7c98a3d950b2 /client/src/extension.ts | |
parent | 71eef9f8ae04187f33ed3ecd09d16e22fc83d785 (diff) | |
download | lua-language-server-85328f177a6783fab57283b28a0ce9ff0f32402f.zip |
#39 不再依赖 CWD
Diffstat (limited to 'client/src/extension.ts')
-rw-r--r-- | client/src/extension.ts | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/client/src/extension.ts b/client/src/extension.ts index 61b14f18..c6aba572 100644 --- a/client/src/extension.ts +++ b/client/src/extension.ts @@ -32,12 +32,7 @@ export function activate(context: ExtensionContext) { context.asAbsolutePath( path.join('server', 'main.lua') ) - ], - options: { - cwd: context.asAbsolutePath( - path.join('server') - ), - } + ] }, debug: { command: context.asAbsolutePath( @@ -50,12 +45,7 @@ export function activate(context: ExtensionContext) { context.asAbsolutePath( path.join('server', 'main.lua') ) - ], - options: { - cwd: context.asAbsolutePath( - path.join('server') - ), - } + ] } }; |