From 854a3451f67705a490bb6be6f22c836baab15152 Mon Sep 17 00:00:00 2001 From: Jon Bracy Date: Thu, 11 Jan 2024 13:13:21 -0600 Subject: [PATCH] Fix method call to use standard ruby --- sync-accounts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync-accounts b/sync-accounts index da6afd7..2ff6d8d 100755 --- a/sync-accounts +++ b/sync-accounts @@ -29,7 +29,7 @@ end def read_permissions(config_file_or_url) permissions = { 'apps' => {}, 'users' => {} } - yaml = if File.exists?(config_file_or_url) + yaml = if File.exist?(config_file_or_url) configs = YAML.load(File.read(config_file_or_url)) configs['url'] ? read_permissions_from_url(configs['url']) : configs elsif config_file_or_url =~ URI::regexp