mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-20 14:03:36 +03:00
L #-: Deprecate File.exists?
(cherry picked from commit da57aa1349354579b8e8909d59b781af610b0a62)
This commit is contained in:
parent
d37104974e
commit
1086764446
@ -809,7 +809,7 @@ module CLIHelper
|
||||
# @param options [Hash] Object with CLI user options
|
||||
def update_columns(options)
|
||||
begin
|
||||
if @conf && File.exists?(@conf)
|
||||
if @conf && File.exist?(@conf)
|
||||
config = YAML.load_file(@conf)
|
||||
else
|
||||
config = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user