diff --git a/share/linters/.rubocop.yml b/share/linters/.rubocop.yml index 74d776b4fa..3d2f856459 100644 --- a/share/linters/.rubocop.yml +++ b/share/linters/.rubocop.yml @@ -630,6 +630,9 @@ Layout/EmptyLineAfterGuardClause: Layout/AlignHash: Enabled: false +Layout/SpaceAroundOperators: + Enabled: false + ### ####### diff --git a/src/vmm_mad/remotes/vcenter/migrate b/src/vmm_mad/remotes/vcenter/migrate index abf5ff9007..dee11831e7 100755 --- a/src/vmm_mad/remotes/vcenter/migrate +++ b/src/vmm_mad/remotes/vcenter/migrate @@ -20,10 +20,10 @@ ONE_LOCATION = ENV['ONE_LOCATION'] unless defined?(ONE_LOCATION) if !ONE_LOCATION RUBY_LIB_LOCATION ||= '/usr/lib/one/ruby' - GEMS_LOCATION = '/usr/share/one/gems' unless defined?(GEMS_LOCATION) + GEMS_LOCATION = '/usr/share/one/gems' unless defined?(GEMS_LOCATION) else RUBY_LIB_LOCATION ||= ONE_LOCATION + '/lib/ruby' - GEMS_LOCATION = ONE_LOCATION + '/share/gems' unless defined?(GEMS_LOCATION) + GEMS_LOCATION = ONE_LOCATION + '/share/gems' unless defined?(GEMS_LOCATION) end if File.directory?(GEMS_LOCATION)