Use blank? rather than nil?

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Harry Marr 2022-05-04 11:13:48 -04:00 committed by Harry Marr
parent 1472259e1d
commit 99504c4474
No known key found for this signature in database
GPG Key ID: EC359447F66859CC

View File

@ -882,7 +882,7 @@ class GitDownloadStrategy < VCSDownloadStrategy
end
def partial_clone_sparse_checkout?
return false if @only_paths.nil?
return false if @only_paths.blank?
# There is some support for partial clones prior to 2.20, but we avoid using it
# due to performance issues