From 55f8ad9275066f6a7176d85d0ff6c900731ced01 Mon Sep 17 00:00:00 2001 From: Jacob Helwig Date: Mon, 25 Jun 2018 09:40:12 -0700 Subject: Remove Rubocop Metrics/LineLength violation --- lib/puppet/type/ssh_authorized_key.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/puppet/type/ssh_authorized_key.rb b/lib/puppet/type/ssh_authorized_key.rb index 84dfce5..6b59078 100644 --- a/lib/puppet/type/ssh_authorized_key.rb +++ b/lib/puppet/type/ssh_authorized_key.rb @@ -113,7 +113,10 @@ module Puppet validate do |value| unless value == :absent || value =~ %r{^[-a-z0-9A-Z_]+(?:=\".*?\")?$} - raise Puppet::Error, _("Option %{value} is not valid. A single option must either be of the form 'option' or 'option=\"value\". Multiple options must be provided as an array") % { value: value } + raise( + Puppet::Error, + _("Option %{value} is not valid. A single option must either be of the form 'option' or 'option=\"value\". Multiple options must be provided as an array") % { value: value }, + ) end end end -- cgit v1.2.3