Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require
octokit/rate_limit
from lib/octokit/error.rb
`Octokit::Error#build_error_context` uses `RateLimit.from_ response` but does not require the file containing `RateLimit` explicitly. This can lead to cases where the `RateLimit` module is not available when needed, causing an error. This requires the file explicitly where the module is used. Fixes #1422.
- Loading branch information