From 69b9d9baba014b6fc371963a42dc61cc4f2c9f75 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 10 Feb 2024 01:07:17 +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 1fefee958..2f9feafc9 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