Skip to content

Commit 06c8b01

Browse files
committed
(maint) Update for rubocop 0.63.1
This commit updates two minor violations that appeared as part of robocop 0.63.1.
1 parent 538c21c commit 06c8b01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/puppet-languageserver-sidecar/puppet_monkey_patches.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def newfunction(name, options = {}, &block)
1616
# Append the caller information
1717
result[:source_location] = {
1818
:source => caller.absolute_path,
19-
:line => caller.lineno - 1, # Convert to a zero based line number system
19+
:line => caller.lineno - 1 # Convert to a zero based line number system
2020
}
2121
monkey_append_function_info(name, result)
2222

@@ -69,7 +69,7 @@ def newtype(name, options = {}, &block)
6969
if block_given? && !block.source_location.nil?
7070
result._source_location = {
7171
:source => block.source_location[0],
72-
:line => block.source_location[1] - 1, # Convert to a zero based line number system
72+
:line => block.source_location[1] - 1 # Convert to a zero based line number system
7373
}
7474
end
7575
result

0 commit comments

Comments
 (0)