Skip to content

Commit 23f0018

Browse files
committed
Layout/SpaceInsideStringInterpolation
This commit enables the Rubocop Layout/SpaceInsideStringInterpolation cop and addresses all offenses.
1 parent fec7703 commit 23f0018

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ I18n/GetText/DecorateStringFormattingUsingPercent:
2222
I18n/RailsI18n/DecorateString:
2323
Enabled: false
2424

25-
# This cop supports safe auto-correction (--auto-correct).
26-
# Configuration parameters: EnforcedStyle.
27-
# SupportedStyles: space, no_space
28-
Layout/SpaceInsideStringInterpolation:
29-
Exclude:
30-
- 'lib/puppet/ssl/ssl_provider.rb'
31-
3225
# This cop supports safe auto-correction (--auto-correct).
3326
# Configuration parameters: EnforcedStyle.
3427
# SupportedStyles: final_newline, final_blank_line

lib/puppet/ssl/ssl_provider.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def print(ssl_context, alg = 'SHA256')
227227
oid_values = Hash[crl.extensions.map { |ext| [ext.oid, ext.value] }]
228228
crlNumber = oid_values['crlNumber'] || 'unknown'
229229
authKeyId = (oid_values['authorityKeyIdentifier'] || 'unknown').chomp
230-
Puppet.debug("Using CRL '#{crl.issuer.to_utf8}' authorityKeyIdentifier '#{authKeyId}' crlNumber '#{crlNumber }'")
230+
Puppet.debug("Using CRL '#{crl.issuer.to_utf8}' authorityKeyIdentifier '#{authKeyId}' crlNumber '#{crlNumber}'")
231231
end
232232
end
233233
end

0 commit comments

Comments
 (0)