From cd5b45e13d0e65022c58d8d0967c06e6d467dd53 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Thu, 20 Apr 2023 09:38:06 -0700 Subject: [PATCH] Apply Style/InvertibleUnlessCondition cop --- lib/bundle/commands/exec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundle/commands/exec.rb b/lib/bundle/commands/exec.rb index 18d3463a4..392d5347b 100644 --- a/lib/bundle/commands/exec.rb +++ b/lib/bundle/commands/exec.rb @@ -31,7 +31,7 @@ def run(*args, global: false, file: nil) require "formulary" ENV.deps = brewfile.entries.map do |entry| - next unless entry.type == :brew + next if entry.type != :brew f = Formulary.factory(entry.name) [f, f.recursive_dependencies.map(&:to_formula)]