Skip to content

Commit 97baa6a

Browse files
committed
Fix indentation
1 parent 2899621 commit 97baa6a

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

lib/thor/parser/options.rb

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,16 @@ def check_unknown!
133133

134134
protected
135135

136-
def assign_result!(option, result)
137-
if option.repeatable && option.type == :hash
138-
(@assigns[option.human_name] ||= {}).merge!(result)
139-
elsif option.repeatable
140-
(@assigns[option.human_name] ||= []) << result
141-
else
142-
@assigns[option.human_name] = result
136+
def assign_result!(option, result)
137+
if option.repeatable && option.type == :hash
138+
(@assigns[option.human_name] ||= {}).merge!(result)
139+
elsif option.repeatable
140+
(@assigns[option.human_name] ||= []) << result
141+
else
142+
@assigns[option.human_name] = result
143+
end
143144
end
144-
end
145+
145146
# Check if the current value in peek is a registered switch.
146147
#
147148
# Two booleans are returned. The first is true if the current value

0 commit comments

Comments
 (0)