Skip to content

Commit

Permalink
Merge pull request #2040 from Shopify/ar/log-tapioca-addon-activation
Browse files Browse the repository at this point in the history
Log Tapioca Add-on Activation
  • Loading branch information
alexcrocha authored Oct 9, 2024
2 parents 044b21f + 1a94c36 commit 03765fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ruby_lsp/tapioca/addon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def activate(global_state, outgoing_queue)
# thread
addon = T.cast(::RubyLsp::Addon.get("Ruby LSP Rails", ">= 0.3.18", "< 0.4"), ::RubyLsp::Rails::Addon)
@rails_runner_client = addon.rails_runner_client
outgoing_queue << Notification.window_log_message("Activating Tapioca add-on v#{version}")
@rails_runner_client.register_server_addon(File.expand_path("server_addon.rb", __dir__))
rescue IncompatibleApiError
# The requested version for the Rails add-on no longer matches. We need to upgrade and fix the breaking
Expand Down

0 comments on commit 03765fd

Please sign in to comment.