summaryrefslogtreecommitdiff
path: root/client/src/extension.ts
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-27 09:59:13 +0800
committersumneko <sumneko@hotmail.com>2019-05-27 09:59:13 +0800
commit85328f177a6783fab57283b28a0ce9ff0f32402f (patch)
tree7621c661f9440daf1aee3b5aaecc7c98a3d950b2 /client/src/extension.ts
parent71eef9f8ae04187f33ed3ecd09d16e22fc83d785 (diff)
downloadlua-language-server-85328f177a6783fab57283b28a0ce9ff0f32402f.zip
#39 不再依赖 CWD
Diffstat (limited to 'client/src/extension.ts')
-rw-r--r--client/src/extension.ts14
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')
- ),
- }
+ ]
}
};