Skip to content

Commit

Permalink
fixed as per style checks
Browse files Browse the repository at this point in the history
  • Loading branch information
vraravam committed Feb 9, 2024
1 parent fd2164c commit 69b9d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundle/commands/cleanup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69b9d9b

Please sign in to comment.