Skip to content

Commit ff5407b

Browse files
(maint) Merge up a67ff0e to main
Generated by CI * commit 'a67ff0e48b6b8affaef33573a0d56fb63a472174': (maint) Enable Layout/SpaceAfterMethodName Cop (maint) Remove spurious space between method name & args
2 parents ec0254c + a67ff0e commit ff5407b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Layout/SpaceAroundKeyword:
194194
Enabled: false
195195

196196
Layout/SpaceAfterMethodName:
197-
Enabled: false
197+
Enabled: true
198198

199199
Layout/SpaceAfterNot:
200200
Enabled: false

lib/puppet/pops/evaluator/relationship_operator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def assert_catalog_type(o, scope)
119119
# To implement this, the general evaluator needs to be able to track each evaluation result and associate
120120
# it with a corresponding expression. This structure should then be passed to the relationship operator.
121121
#
122-
def evaluate (left_right_evaluated, relationship_expression, scope)
122+
def evaluate(left_right_evaluated, relationship_expression, scope)
123123
# assert operator (should have been validated, but this logic makes assumptions which would
124124
# screw things up royally). Better safe than sorry.
125125
unless RELATIONSHIP_OPERATORS.include?(relationship_expression.operator)

0 commit comments

Comments
 (0)