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
parent 945fb11d51
commit bec303de86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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