Skip to content

Commit b02c038

Browse files
(maint) fix rubocop SpaceBeforeFirstArg offenses
1 parent 8eddbc4 commit b02c038

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/puppet/interface/action.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def deprecated?
216216

217217
# The arity of the action
218218
# @return [Integer]
219-
attr_reader :positional_arg_count
219+
attr_reader :positional_arg_count
220220

221221
# The block that is executed when the action is invoked
222222
# @return [block]

lib/puppet/interface/option.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def default
132132
@default and @default.call
133133
end
134134

135-
attr_reader :parent, :name, :aliases, :optparse, :required
135+
attr_reader :parent, :name, :aliases, :optparse, :required
136136
def required=(value)
137137
if has_default?
138138
raise ArgumentError, _("%{name} can't be optional and have a default value") % { name: self }

0 commit comments

Comments
 (0)