Skip to content

Commit

Permalink
skip invalid dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Jul 19, 2016
1 parent 591f25b commit 3f6e93b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/github_repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def download_manifests(token = nil)
manifest = manifests.create(args)
m['dependencies'].each do |dep|
platform = manifest.platform

next unless dep.is_a?(Hash)
project = Project.platform(platform).find_by_name(dep['name'])

manifest.repository_dependencies.create({
Expand Down

0 comments on commit 3f6e93b

Please sign in to comment.