Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace File.exists? with File.exist? #7

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

kiran-aluvala
Copy link

@kiran-aluvala kiran-aluvala commented Apr 10, 2024

File.exists? method has been removed in Ruby 3 and we are seeing errors in Connect-api when someone calls rswag-ui endpoint, since it uses Ruby3+.
Updating to use File.exist? instead

@kiran-aluvala kiran-aluvala requested a review from a team April 10, 2024 19:19
@kiran-aluvala kiran-aluvala merged commit 5fc6c32 into master Apr 10, 2024
4 of 6 checks passed
@kiran-aluvala kiran-aluvala deleted the kiran-aluvala/fix_file_exists branch April 10, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants