From ffa989578a3c0109c6a451aad186c4e5d364ca56 Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Wed, 30 Oct 2024 13:53:23 +0100 Subject: [PATCH] Fix a typo in the activation script (#2802) I for sure thought it would change meaning but turns out this space doesn't matter and the ast is the same. --- vscode/src/ruby/versionManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vscode/src/ruby/versionManager.ts b/vscode/src/ruby/versionManager.ts index 428fb5c82..1cfc453f3 100644 --- a/vscode/src/ruby/versionManager.ts +++ b/vscode/src/ruby/versionManager.ts @@ -19,7 +19,7 @@ export const ACTIVATION_SEPARATOR = "RUBY_LSP_ACTIVATION_SEPARATOR"; export abstract class VersionManager { public activationScript = [ `STDERR.print("${ACTIVATION_SEPARATOR}" + `, - "{ env: ENV.to_h, yjit: !!defined?(RubyVM:: YJIT), version: RUBY_VERSION, gemPath: Gem.path }.to_json + ", + "{ env: ENV.to_h, yjit: !!defined?(RubyVM::YJIT), version: RUBY_VERSION, gemPath: Gem.path }.to_json + ", `"${ACTIVATION_SEPARATOR}")`, ].join("");