Skip to content

Commit e4a8889

Browse files
committed
Layout/ExtraSpacing
1 parent fc64acd commit e4a8889

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

lib/puppet/parameter/value.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def regex?
7878
#
7979
def convert(value)
8080
case value
81-
when Symbol, '' # can't intern an empty string
81+
when Symbol, '' # can't intern an empty string
8282
value
8383
when String
8484
value.intern

lib/puppet/pops/evaluator/runtime3_support.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def accept(diagnostic)
518518
super
519519
IssueReporter.assert_and_report(self, {
520520
:message => "Evaluation Error:",
521-
:emit_warnings => true, # log warnings
521+
:emit_warnings => true, # log warnings
522522
:exception_class => Puppet::PreformattedError
523523
})
524524
if errors?

lib/puppet/pops/parser/lexer2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class Lexer2
125125
'default' => [:DEFAULT, 'default', 7],
126126
'define' => [:DEFINE, 'define', 6],
127127
'if' => [:IF, 'if', 2],
128-
'elsif' => [:ELSIF, 'elsif', 5],
128+
'elsif' => [:ELSIF, 'elsif', 5],
129129
'else' => [:ELSE, 'else', 4],
130130
'inherits' => [:INHERITS, 'inherits', 8],
131131
'node' => [:NODE, 'node', 4],

lib/puppet/provider/nameservice/directoryservice.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def getinfo(refresh = false)
510510
# list, then report on the remaining list. Pretty whacky, ehh?
511511
type_properties = [:name] + self.class.resource_type.validproperties
512512
type_properties.delete(:ensure) if type_properties.include? :ensure
513-
type_properties << :guid # append GeneratedUID so we just get the report here
513+
type_properties << :guid # append GeneratedUID so we just get the report here
514514
@property_value_cache_hash = self.class.single_report(@resource[:name], *type_properties)
515515
[:uid, :gid].each do |param|
516516
@property_value_cache_hash[param] = @property_value_cache_hash[param].to_i if @property_value_cache_hash and @property_value_cache_hash.include?(param)

lib/puppet/provider/package/dnfmodule.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def enable(args = @resource[:name])
122122

123123
def uninstall
124124
execute([command(:dnf), 'module', 'remove', '-d', '0', '-e', self.class.error_level, '-y', @resource[:name]])
125-
reset # reset module to the default stream
125+
reset # reset module to the default stream
126126
end
127127

128128
def disable(args = @resource[:name])

lib/puppet/util/checksums.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def sha224_file(filename, lite = false)
168168
require_relative '../../puppet/ssl/openssl_loader'
169169

170170
digest = OpenSSL::Digest.new('SHA224')
171-
checksum_file(digest, filename, lite)
171+
checksum_file(digest, filename, lite)
172172
end
173173

174174
def sha224_stream(lite = false, &block)

0 commit comments

Comments
 (0)