tap: update shallowing logic

Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Jonathan Chang
2020-04-11 22:41:04 +10:00
committed by GitHub
co-authored by Mike McQuaid
parent 945fb11d51
commit bec303de86
+2 -2
View File
@@ -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