Skip to content

style: run rubocop -a#8654

Merged
jekyllbot merged 1 commit intojekyll:masterfrom
kmk3:run-rubocop-112
May 14, 2021
Merged

style: run rubocop -a#8654
jekyllbot merged 1 commit intojekyll:masterfrom
kmk3:run-rubocop-112

Conversation

@kmk3
Copy link
Copy Markdown
Contributor

@kmk3 kmk3 commented Apr 23, 2021

This is a 🔨 code refactoring.

Summary

$ ./script/fmt --disable-pending-cops
RuboCop 1.12.1
Inspecting 134 files
.W....................................................................................................................................

Offenses:

lib/jekyll/cache.rb:166:5: W: [Correctable] Lint/RedundantCopDisableDirective: Unnecessary disabling of Security/MarshalLoad.
    # rubocop:disable Security/MarshalLoad
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

134 files inspected, 1 offense detected, 1 offense auto-correctable

Try running `script/fmt -a` to automatically fix errors

Relates to #8651.

    $ ./script/fmt --disable-pending-cops
    RuboCop 1.12.1
    Inspecting 134 files
    .W....................................................................................................................................

    Offenses:

    lib/jekyll/cache.rb:166:5: W: [Correctable] Lint/RedundantCopDisableDirective: Unnecessary disabling of Security/MarshalLoad.
        # rubocop:disable Security/MarshalLoad
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    134 files inspected, 1 offense detected, 1 offense auto-correctable

    Try running `script/fmt -a` to automatically fix errors

Relates to jekyll#8651.
@DirtyF DirtyF added the style label May 14, 2021
@DirtyF DirtyF requested review from a team, ashmaroli and mattr- and removed request for a team May 14, 2021 19:07
@DirtyF
Copy link
Copy Markdown
Member

DirtyF commented May 14, 2021

@jekyllbot: merge +dev

@jekyllbot jekyllbot merged commit 5d35cf2 into jekyll:master May 14, 2021
jekyllbot added a commit that referenced this pull request May 14, 2021
github-actions bot pushed a commit that referenced this pull request May 14, 2021
Kelvin M. Klann: style: run rubocop -a (#8654)

Merge pull request 8654
@kmk3 kmk3 deleted the run-rubocop-112 branch May 15, 2021 22:18
@jekyll jekyll locked and limited conversation to collaborators May 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants