Skip to content

Commit a5a2acf

Browse files
committed
remove warnings "warning: shadowing outer local variable - name"
1 parent 0cc0f26 commit a5a2acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/spring/client/binstub.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def find_commands(name)
146146
when "--all"
147147
@all = true
148148
commands = Spring.commands.dup
149-
commands.delete_if { |name, _| name.start_with?("rails_") }
149+
commands.delete_if { |command_name, _| command_name.start_with?("rails_") }
150150
commands.values + [self.class.rails_command]
151151
when "--remove"
152152
@mode = :remove

0 commit comments

Comments
 (0)