Skip to content

Commit

Permalink
Fix method call to use standard ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
malomalo committed Jan 11, 2024
1 parent 058b7de commit 854a345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync-accounts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 854a345

Please sign in to comment.