Skip to content

Commit edcf069

Browse files
authored
Merge pull request #73 from xfalcox/ruby-3.2-deprecations
2 parents 2f7a04b + 7195798 commit edcf069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def fail_auth(reason)
7373
end
7474
def load_user_descriptions
7575
file_path = "#{File.expand_path(File.dirname(__FILE__))}/ldap_users.yml"
76-
return nil unless File.exists?(file_path)
76+
return nil unless File.exist?(file_path)
7777
return YAML.load_file(file_path)
7878
end
7979
end

0 commit comments

Comments
 (0)