-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Description
Hi, we're using the Docsplit.extract_text
method with output: File.dirname('some/path')
as an option. Now this ends up failing with a undefined method 'exists?' for File:Class
.
I've looked at the ruby changelogs for 3.2.0 and I saw this:
Removed methods
The following deprecated methods are removed.
- Dir.exists? [Feature #17391]
- File.exists? [Feature #17391]
- Kernel#=~ [Feature #15231]
- Kernel#taint, Kernel#untaint, Kernel#tainted? [Feature #16131]
- Kernel#trust, Kernel#untrust, Kernel#untrusted? [Feature #16131]
I've looked into the docsplit code and found this
FileUtils.mkdir_p @output unless File.exists?(@output)
The File.exists?
removal does seem to align with the error being raised, would it be possible to look into this ?
Thanks ! 👋
tuttiq, krongk, krystof-k, tmaier and Jhonnyr97
Metadata
Metadata
Assignees
Labels
No labels