From 51bb5dcd2e63d7902794d42147817733249d3dd9 Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Fri, 7 Jun 2024 09:26:55 -0400 Subject: [PATCH] [ruby/error_highlight] Trim trailing spaces in base.rb https://github.com/ruby/error_highlight/commit/8ce3f6f145 --- lib/error_highlight/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/error_highlight/base.rb b/lib/error_highlight/base.rb index e98d81a279..81b1b574de 100644 --- a/lib/error_highlight/base.rb +++ b/lib/error_highlight/base.rb @@ -749,7 +749,7 @@ module ErrorHighlight def prism_spot_local_variable_operator_write_for_name prism_location(@node.binary_operator_loc.chop) end - + # Example: # x += 1 # ^ @@ -842,7 +842,7 @@ module ErrorHighlight prism_location(location) end end - + # Example: # Foo::Bar += 1 # ^^^^^^^^