download_strategy: check if commit nil
This commit is contained in:
parent
82ea19bc15
commit
b7a17ba345
@ -821,6 +821,7 @@ class GitHubGitDownloadStrategy < GitDownloadStrategy
|
||||
if !@last_commit
|
||||
super
|
||||
else
|
||||
return true unless commit
|
||||
return true unless @last_commit.start_with?(commit)
|
||||
multiple_short_commits_exist?(commit)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user