Skip to content

Commit

Permalink
feat(#228): inline
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Jul 1, 2024
1 parent 49a3bd8 commit ed857ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions steps/discover-repos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ def files_in_repo(github, repo, ref, path = '')
puts "Repo #{i[:full_name]} doesn't contain required license. Skipping" if no_license
next if no_license
count += 1
files = files_in_repo(github, i[:full_name], '', i[:default_branch])
found[i[:full_name]] = {
full_name: i[:full_name],
default_branch: i[:default_branch],
Expand All @@ -141,7 +140,7 @@ def files_in_repo(github, repo, ref, path = '')
open_issues_count: i[:open_issues_count],
description: "\"#{i[:description]}\"",
topics: Array(i[:topics]).join(' '),
files: files
files: files_in_repo(github, i[:full_name], '', i[:default_branch])
}
puts "Found #{i[:full_name].inspect} GitHub repo ##{found.count} \
(#{i[:forks_count]} forks, #{i[:stargazers_count]} stars) with license: #{i[:license][:key]}"
Expand Down

0 comments on commit ed857ce

Please sign in to comment.