lib/how_is/fetcher.rb in how_is-12.0.0 vs lib/how_is/fetcher.rb in how_is-13.0.0

- old
+ new

@@ -29,9 +29,12 @@ Contract String, C::Or[C::RespondTo[:issues, :pulls], nil] => Results def call(repository, github = nil) github ||= Github.new(auto_pagination: true) user, repo = repository.split('/', 2) + raise HowIs::CLI::OptionsError, 'To generate a report from GitHub, ' \ + 'provide the repository username/project. ' \ + 'Quitting!' unless user && repo issues = github.issues.list user: user, repo: repo pulls = github.pulls.list user: user, repo: repo Results.new( repository,