Skip to content

Commit 770f115

Browse files
committed
Lint/RedundantStringCoercion
1 parent 46b9e3c commit 770f115

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/puppet/application/agent.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ def log_config
410410
end
411411
end
412412

413+
# rubocop:disable Lint/RedundantStringCoercion
413414
def fingerprint
414415
Puppet::Util::Log.newdestination(:console)
415416
cert_provider = Puppet::X509::CertProvider.new
@@ -429,6 +430,7 @@ def fingerprint
429430
Puppet.log_exception(e, _("Failed to generate fingerprint: %{message}") % { message: e.message })
430431
exit(1)
431432
end
433+
# rubocop:enable Lint/RedundantStringCoercion
432434

433435
def onetime(daemon)
434436
begin

0 commit comments

Comments
 (0)