From 490ea902a39974c3d42d1d0d51d6f6cac51c7615 Mon Sep 17 00:00:00 2001 From: Alex Rocha Date: Mon, 9 Dec 2024 20:50:34 -0800 Subject: [PATCH] Clean up git repo check --- lib/ruby_lsp/tapioca/addon.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ruby_lsp/tapioca/addon.rb b/lib/ruby_lsp/tapioca/addon.rb index d2e755db6..8be57fd62 100644 --- a/lib/ruby_lsp/tapioca/addon.rb +++ b/lib/ruby_lsp/tapioca/addon.rb @@ -136,7 +136,7 @@ def file_updated?(change, path) sig { returns(T.nilable(T::Boolean)) } def git_repo? - _, _, status = Open3.capture3("git rev-parse --is-inside-work-tree") + _, status = Open3.capture2e("git rev-parse --is-inside-work-tree") status.success? end