From d57fac3412d9afadf3efce09daa91ab6e05a0cf0 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 1 Aug 2024 22:51:03 +0100 Subject: [PATCH] typescript-language-server: Stop interpolating `bin` --- Formula/t/typescript-language-server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/t/typescript-language-server.rb b/Formula/t/typescript-language-server.rb index b0a7c6355b906..70cb5dc6927fe 100644 --- a/Formula/t/typescript-language-server.rb +++ b/Formula/t/typescript-language-server.rb @@ -39,7 +39,7 @@ def install } JSON - Open3.popen3("#{bin}/typescript-language-server", "--stdio") do |stdin, stdout| + Open3.popen3(bin/"typescript-language-server", "--stdio") do |stdin, stdout| stdin.write "Content-Length: #{json.size}\r\n\r\n#{json}" assert_match(/^Content-Length: \d+/i, stdout.readline) end