diff --git a/.rubocop.yml b/.rubocop.yml index b5767a2..f67218e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,3 +2,5 @@ Metrics/MethodLength: Max: 25 Metrics/AbcSize: Enabled: false +Style/RedundantBegin: + Enabled: false diff --git a/unipoly-mlmmj-ldap-sync b/unipoly-mlmmj-ldap-sync index a3b14a7..43e7994 100755 --- a/unipoly-mlmmj-ldap-sync +++ b/unipoly-mlmmj-ldap-sync @@ -9,8 +9,8 @@ require 'net/ldap' def read_configuration(path) begin TOML.load_file(path) - rescue Errno::ENOENT => raisedError - puts "Could not open configuration file: #{raisedError}" + rescue Errno::ENOENT => raised_error + puts "Could not open configuration file: #{raised_error}" exit(1) end end