mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
L #-: Disable SpaceAroundOperators rubocop layout
Also fix line too long offense
This commit is contained in:
parent
3581561240
commit
7a76cb85ab
@ -630,6 +630,9 @@ Layout/EmptyLineAfterGuardClause:
|
||||
Layout/AlignHash:
|
||||
Enabled: false
|
||||
|
||||
Layout/SpaceAroundOperators:
|
||||
Enabled: false
|
||||
|
||||
###
|
||||
|
||||
#######
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user