1
0
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:
Tino Vázquez 2023-01-31 13:45:40 +01:00
parent d37104974e
commit 1086764446
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -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 = {}