deactivate rubocop testing for unspecific exception handling (#50)

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
This commit is contained in:
Christoph Hartmann 2017-10-08 22:56:52 +02:00 committed by Dominik Richter
parent b1254926cd
commit c7adc529b2
2 changed files with 4 additions and 1 deletions

View file

@ -71,4 +71,6 @@ BlockDelimiters:
Style/SpaceAroundOperators:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Enabled: false
Lint/RescueWithoutErrorClass:
Enabled: false

View file

@ -143,6 +143,7 @@ class Helpers
# get a vm from the named resource group
begin
compute_mgmt.client.virtual_machines.get(rg_name, name)
# TODO: we should avoid doing a general rescue, will be covered with InSpec 2.0 integration
rescue => e
e.error_message
end