Skip to content

Commit

Permalink
Clean up git repo check
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrocha committed Dec 10, 2024
1 parent 49d97aa commit 490ea90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby_lsp/tapioca/addon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 490ea90

Please sign in to comment.