Skip to content

Commit

Permalink
Fixed application class type for exist? method (#4165)
Browse files Browse the repository at this point in the history
  • Loading branch information
abujeda authored Feb 18, 2025
1 parent f037424 commit 1bf5847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dashboard/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Application < Rails::Application

# Determine if this path is safe to load. I.e., are all the files root owned.
def safe_load_path?(path)
path.exists? && path.children.all? { |f| File.stat(f).uid.zero? }
path.exist? && path.children.all? { |f| File.stat(f).uid.zero? }
end

# Enable installed plugins only if configured by administrator
Expand Down

0 comments on commit 1bf5847

Please sign in to comment.