Style fix

This commit is contained in:
David Cook
2023-05-18 10:07:52 +10:00
committed by GitHub
parent eaf3bd0bae
commit 360a241402

View File

@@ -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