File tree Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -376,18 +376,12 @@ def run
376
376
file_opt = args_obj . respond_to? ( :file ) ? args_obj . file : nil
377
377
no_upgrade_opt = args_obj . respond_to? ( :no_upgrade? ) ? args_obj . no_upgrade? : false
378
378
verbose_opt = args_obj . respond_to? ( :verbose? ) ? args_obj . verbose? : false
379
-
380
- if ENV [ "HOMEBREW_TEST_GENERIC_OS" ] || ( defined? ( RSpec ) && ENV . fetch ( "HOMEBREW_TEST_TMPDIR" , nil ) )
381
- # Testing mode - output differently for the test compatibility
382
- puts "The Brewfile's dependencies are satisfied."
383
- else
384
- Homebrew ::Bundle ::Commands ::Check . run (
385
- global : global_opt ,
386
- file : file_opt ,
387
- no_upgrade : no_upgrade_opt ,
388
- verbose : verbose_opt ,
389
- )
390
- end
379
+ Homebrew ::Bundle ::Commands ::Check . run (
380
+ global : global_opt ,
381
+ file : file_opt ,
382
+ no_upgrade : no_upgrade_opt ,
383
+ verbose : verbose_opt ,
384
+ )
391
385
end
392
386
end
393
387
Original file line number Diff line number Diff line change @@ -112,9 +112,6 @@ def run
112
112
113
113
sig { void }
114
114
def default_subcommand
115
- # Skip in test mode to avoid errors
116
- return if ENV [ "HOMEBREW_TEST_GENERIC_OS" ] || ( defined? ( RSpec ) && ENV . fetch ( "HOMEBREW_TEST_TMPDIR" , nil ) )
117
-
118
115
args_obj = T . unsafe ( args )
119
116
Homebrew ::Services ::Commands ::List . run ( json : args_obj . respond_to? ( :json? ) ? args_obj . json? : false )
120
117
end
@@ -126,9 +123,6 @@ class ListSubcommand < AbstractSubcommand
126
123
127
124
sig { override . void }
128
125
def run
129
- # Skip in test mode to avoid errors
130
- return if ENV [ "HOMEBREW_TEST_GENERIC_OS" ] || ( defined? ( RSpec ) && ENV . fetch ( "HOMEBREW_TEST_TMPDIR" , nil ) )
131
-
132
126
args_obj = T . unsafe ( args )
133
127
Homebrew ::Services ::Commands ::List . run ( json : args_obj . respond_to? ( :json? ) ? args_obj . json? : false )
134
128
end
You can’t perform that action at this time.
0 commit comments