Skip to content

Commit

Permalink
Fix a broken link
Browse files Browse the repository at this point in the history
404 Page Not Found is returned when
https://docs.rubocop.org/rubocop/cop_api_v1_changelog.html is accessed.
https://docs.rubocop.org/rubocop/v1_upgrade_notes.html would be the intended URL.
  • Loading branch information
koic committed Aug 5, 2022
1 parent 8ccd832 commit 4f9cc54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/cop.rb
Expand Up @@ -7,7 +7,7 @@ module RuboCop
module Cop
# @deprecated Use Cop::Base instead
# Legacy scaffold for Cops.
# See https://docs.rubocop.org/rubocop/cop_api_v1_changelog.html
# See https://docs.rubocop.org/rubocop/v1_upgrade_notes.html
class Cop < Base
attr_reader :offenses

Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/cop/legacy/corrections_proxy.rb
Expand Up @@ -4,7 +4,7 @@ module RuboCop
module Cop
module Legacy
# Legacy support for Corrector#corrections
# See https://docs.rubocop.org/rubocop/cop_api_v1_changelog.html
# See https://docs.rubocop.org/rubocop/v1_upgrade_notes.html
class CorrectionsProxy
def initialize(corrector)
@corrector = corrector
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/cop/legacy/corrector.rb
Expand Up @@ -4,7 +4,7 @@ module RuboCop
module Cop
module Legacy
# Legacy Corrector for v0 API support.
# See https://docs.rubocop.org/rubocop/cop_api_v1_changelog.html
# See https://docs.rubocop.org/rubocop/v1_upgrade_notes.html
class Corrector < RuboCop::Cop::Corrector
# Support legacy second argument
def initialize(source, corr = [])
Expand Down

0 comments on commit 4f9cc54

Please sign in to comment.