From 45cffe5717e0993797cb33bbdcd5be636d4ecff9 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 10 Feb 2024 01:05:43 +0530 Subject: [PATCH] fixed as per style checks --- lib/bundle/commands/cleanup.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundle/commands/cleanup.rb b/lib/bundle/commands/cleanup.rb index 1fefee958f..1d37362302 100644 --- a/lib/bundle/commands/cleanup.rb +++ b/lib/bundle/commands/cleanup.rb @@ -143,7 +143,7 @@ def taps_to_untap(global: false, file: nil) def vscode_extensions_to_uninstall(global: false, file: nil) @dsl ||= Bundle::Dsl.new(Brewfile.read(global: global, file: file)) - kept_extensions = @dsl.entries.select { |e| e.type == :vscode }.map(&:name).map(&:downcase) + kept_extensions = @dsl.entries.select { |e| e.type == :vscode }.map{ |x| x.name.downcase } # To provide a graceful migration from `Brewfile`s that don't yet or # don't want to use `vscode`: don't remove any extensions if we don't