HomePhabricator

Fixed Lint/UnusedMethodArgument RuboCop offense

Authored by zeljkofilipin.

Description

Fixed Lint/UnusedMethodArgument RuboCop offense

$ bundle exec rubocop --auto-correct
Inspecting 25 files
.W.......................

Offenses:

maintenance/jsduck/custom_tags.rb:14:26: W: [Corrected] Unused method
argument - position. If it's necessary, use _ or _position as an
argument name to indicate that it won't be used.

def parse_doc(scanner, position)
                       ^^^^^^^^

...
25 files inspected, 2 offenses detected, 2 offenses corrected

Bug: T91485
Change-Id: Ide96774c284af97f8d587bd6cde302c4500496ed

Details

Committed
zeljkofilipinMar 18 2015, 6:02 PM
Parents
rMW2cc78fd8f8f3: Fixed Style/FileName RuboCop offense
Branches
Unknown
Tags
Unknown
References
refs/changes/76/197676/2
ChangeId
Ide96774c284af97f8d587bd6cde302c4500496ed