tap: update shallowing logic
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
945fb11d51
commit
bec303de86
@ -55,8 +55,8 @@ module Homebrew
|
||||
else
|
||||
full_clone = if args.full?
|
||||
true
|
||||
elsif args.shallow?.nil?
|
||||
!ENV["CI"]
|
||||
elsif !args.shallow?
|
||||
ENV["CI"].blank?
|
||||
else
|
||||
!args.shallow?
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user