You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if write make dataset/repositories.csv with Total number of repositories to fetch from GitHub. > 30 and % 100 != 0 we get an exception:
cam/steps/discover-repos.rb:125:in `<main>': undefined method `values' for an instance of Array (NoMethodError)
lines = [found.first[1].keys.join(',')] + found.values.map { |m| m.values.join(',') }
Did you mean? values_at
This happens because if we exit the loop before we have collected enough repositories, the script tries to slice hash - line with bug
i suppose we miss to_h cast
The text was updated successfully, but these errors were encountered:
howcanunot
changed the title
Missing to_h cast in repo discovery string
Missing to_h cast in repo discovery script
Mar 17, 2024
if write
make dataset/repositories.csv
withTotal number of repositories to fetch from GitHub.
> 30 and % 100 != 0 we get an exception:This happens because if we exit the loop before we have collected enough repositories, the script tries to slice hash - line with bug
i suppose we miss
to_h
castThe text was updated successfully, but these errors were encountered: