nixpkgs/pkgs/applications/editors/vscode/extensions/sumneko.lua/remove-chmod.patch

15 lines
789 B
Diff

--- a/client/out/languageserver.js
+++ b/client/out/languageserver.js
@@ -164,11 +164,9 @@ class LuaClient extends vscode_1.Disposable {
break;
case "linux":
command = this.context.asAbsolutePath(path.join("server", binDir ? binDir : "bin-Linux", "lua-language-server"));
- yield fs.promises.chmod(command, "777");
break;
case "darwin":
command = this.context.asAbsolutePath(path.join("server", binDir ? binDir : "bin-macOS", "lua-language-server"));
- yield fs.promises.chmod(command, "777");
break;
default:
throw new Error(`Unsupported operating system "${platform}"!`);