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
|
if !@last_commit
|
||||||
super
|
super
|
||||||
else
|
else
|
||||||
|
return true unless commit
|
||||||
return true unless @last_commit.start_with?(commit)
|
return true unless @last_commit.start_with?(commit)
|
||||||
multiple_short_commits_exist?(commit)
|
multiple_short_commits_exist?(commit)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user