Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Shopify/ruby-lsp-rails
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 27001a173c313d9be7d2bebdb583f91edf8ecfb4
Choose a base ref
..
head repository: Shopify/ruby-lsp-rails
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ff338d5fba256d975e4ee066b00da95e14151979
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ruby_lsp/ruby_lsp_rails/addon.rb
2 changes: 1 addition & 1 deletion lib/ruby_lsp/ruby_lsp_rails/addon.rb
Original file line number Diff line number Diff line change
@@ -139,7 +139,7 @@ def workspace_did_change_watched_files(changes)
end

# It may be too agressive to ask a user to run a migration which has just been created.
# But do do want to offer for situations such as switching branches or pulling from a remote.
# But we do want to offer it for situations such as switching branches or pulling from a remote.
# As a middle-ground, we only offer to run migrations if the # migration was created more than a minute ago.
if changes.any? do |c|
%r{db/migrate/.*\.rb}.match?(c[:uri]) &&