Skip to content

Commit

Permalink
Use join instead of interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed Jan 29, 2025
1 parent ff774fe commit cb81ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby_lsp/tapioca/run_gem_rbi_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def lockfile_changed?

sig { returns(String) }
def fetch_lockfile_diff
@lockfile_diff = if File.exist?("#{project_path}/Gemfile.lock")
@lockfile_diff = if File.exist?(File.join(project_path, "Gemfile.lock"))
execute_in_project_path("git", "diff", "Gemfile.lock").strip
else
""
Expand Down

0 comments on commit cb81ea5

Please sign in to comment.