Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Aug 1, 2024
1 parent bf5ef66 commit 5f219da
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ async function doStartServer() {
context.extensionPath,
'server',
'EmmyLua.LanguageServer-win32-x64',
'EmmyLua.LanguageServer-win32-x64',
'EmmyLua.LanguageServer.exe'
)
break;
Expand All @@ -149,7 +148,6 @@ async function doStartServer() {
context.extensionPath,
'server',
'EmmyLua.LanguageServer-linux-x64',
'EmmyLua.LanguageServer-linux-x64',
'EmmyLua.LanguageServer'
)
fs.chmodSync(command, '777');
Expand All @@ -160,15 +158,13 @@ async function doStartServer() {
context.extensionPath,
'server',
'EmmyLua.LanguageServer-darwin-arm64',
'EmmyLua.LanguageServer-darwin-arm64',
'EmmyLua.LanguageServer'
);
} else {
command = path.join(
context.extensionPath,
'server',
'EmmyLua.LanguageServer-darwin-x64',
'EmmyLua.LanguageServer-darwin-x64',
'EmmyLua.LanguageServer'
);
}
Expand Down

0 comments on commit 5f219da

Please sign in to comment.