]> gitweb.fluxo.info Git - puppet-sshkeys_core.git/commitdiff
Remove Rubocop Metrics/LineLength violation
authorJacob Helwig <jacob@technosorcery.net>
Mon, 25 Jun 2018 16:40:12 +0000 (09:40 -0700)
committerJacob Helwig <jacob@technosorcery.net>
Mon, 25 Jun 2018 18:26:53 +0000 (11:26 -0700)
lib/puppet/type/ssh_authorized_key.rb

index 84dfce5043d56305471090b18c7e6460d1d9f835..6b59078296748a7a445abd6f21ce0a2288dc8a38 100644 (file)
@@ -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