Skip to content

Commit

Permalink
Merge pull request dependabot#8894 from dependabot/nishnha/guard-grad…
Browse files Browse the repository at this point in the history
…le-buildfile

Add a guard for nil top level buildfiles
  • Loading branch information
Nishnha authored Jan 25, 2024
2 parents 302279c + 26a76ce commit 6a9ed5f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def inherited_repository_urls(dependency_file)
end

def own_buildfile_repository_urls
return [] unless top_level_buildfile

buildfile_content = comment_free_content(top_level_buildfile)

own_buildfile_urls = []
Expand Down

0 comments on commit 6a9ed5f

Please sign in to comment.