jenkins-bot has submitted this change and it was merged. Change subject: Fix the Rubocop offense SpaceAroundOperators ......................................................................
Fix the Rubocop offense SpaceAroundOperators Done using bundle exec rubocop -c .rubocop.yml --auto-correct Change-Id: I10048311b3cc03d2e3f2d71ba229d5f3437f6d76 --- M .rubocop_todo.yml M maintenance/jsduck/CustomTags.rb 2 files changed, 2 insertions(+), 7 deletions(-) Approvals: Zfilipin: Looks good to me, approved jenkins-bot: Verified diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 904f142..6f10c52 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -35,11 +35,6 @@ Style/PerlBackrefs: Enabled: false -# Offense count: 4 -# Cop supports --auto-correct. -Style/SpaceAroundOperators: - Enabled: false - # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. diff --git a/maintenance/jsduck/CustomTags.rb b/maintenance/jsduck/CustomTags.rb index bf0e07f..2de3ac0 100644 --- a/maintenance/jsduck/CustomTags.rb +++ b/maintenance/jsduck/CustomTags.rb @@ -77,7 +77,7 @@ doc = $2 ? ': ' + $2 : '' return formatter.format("{@link #{name}} #{doc}") else - JsDuck::Logger.warn(nil, 'Unexpected @see argument: "'+tag+'"', position) + JsDuck::Logger.warn(nil, 'Unexpected @see argument: "' + tag + '"', position) return tag end end @@ -109,7 +109,7 @@ name = $1 return formatter.format("`context` : {@link #{name}}") else - JsDuck::Logger.warn(nil, 'Unexpected @context argument: "'+tag+'"', position) + JsDuck::Logger.warn(nil, 'Unexpected @context argument: "' + tag + '"', position) return tag end end -- To view, visit https://gerrit.wikimedia.org/r/191612 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I10048311b3cc03d2e3f2d71ba229d5f3437f6d76 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Amire80 <amir.ahar...@mail.huji.ac.il> Gerrit-Reviewer: Parent5446 <tylerro...@gmail.com> Gerrit-Reviewer: Zfilipin <zfili...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits