mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-24 05:38:52 +00:00
Style fix
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
class FilePathSanitizer
|
||||
def sanitize(file_path, on_error: nil)
|
||||
pathname = Pathname.new(file_path)
|
||||
return pathname.realpath if pathname.file?
|
||||
return pathname.realpath if pathname.file?
|
||||
|
||||
on_error&.call
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user