Skip to content

Migration/DepartmentName fails to autocorrect, but says it does #7619

Closed
@tas50

Description

@tas50
Contributor

Expected behavior

Running: rubocop -a --only Migration/DepartmentName should migrate legacy departments in rubocop comments.

Actual behavior

Cop runs and shows that it autocorrected the department, but did not.

Steps to reproduce the problem

Run rubocop against the followinng code:

# encoding: UTF-8
# rubocop:disable SingleSpaceBeforeFirstArg, Metrics/LineLength
name             "apache_kafka"

RuboCop version

0.78.0

Activity

added a commit that references this issue on Feb 4, 2020

[Fix rubocop#7619] Support autocorrect of legacy names for `Migration…

dd358d4
added a commit that references this issue on Feb 4, 2020

[Fix #7619] Support autocorrect of legacy names for `Migration/Depart…

28eb777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @tas50

      Issue actions

        Migration/DepartmentName fails to autocorrect, but says it does · Issue #7619 · rubocop/rubocop