Merge pull request #749 from vladshablinsky/fix_commit
download_strategy: check if commit nil
This commit is contained in:
commit
893582b89f
@ -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