Use blank? rather than nil?
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
1472259e1d
commit
99504c4474
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user