GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 4-10 lines in 2 locations

app/controllers/errors_controller.rb 2 locations

@@ 24-33 (lines=10) @@
21
    render "greenlight_error", status: 404, formats: :html
22
  end
23
24
  def internal_error
25
    render "errors/greenlight_error", status: 500, formats: :html,
26
      locals: {
27
        status_code: 500,
28
        message: I18n.t("errors.internal.message"),
29
        help: I18n.t("errors.internal.help"),
30
        display_back: true,
31
        report_issue: true
32
      }
33
  end
34
35
  def unauthorized
36
    render "errors/greenlight_error", status: 401, formats: :html, locals: { status_code: 401,
@@ 35-38 (lines=4) @@
32
      }
33
  end
34
35
  def unauthorized
36
    render "errors/greenlight_error", status: 401, formats: :html, locals: { status_code: 401,
37
      message: I18n.t("errors.unauthorized.message"), help: I18n.t("errors.unauthorized.help"), display_back: true }
38
  end
39
end
40