scmbreeze / scm_breeze

Adds numbered shortcuts to the output git status, and much more
https://madebynathan.com/2011/10/19/git-shortcuts-like-youve-never-seen-before/
MIT License
2.82k stars 192 forks source link

File.exists? is deprecated in ruby 3.2.0 #322

Closed neocoin closed 1 year ago

neocoin commented 1 year ago

https://github.com/scmbreeze/scm_breeze/blob/0e21e89f3a32c9967f84a3b2ace761544094e9de/lib/git/status_shortcuts.rb#L91

Plz change to File.exit?

ref https://bugs.ruby-lang.org/issues/17391

ghthor commented 1 year ago

Alright, I’ll see what I can do about this.

On Thu, Jan 5, 2023 at 00:11 simon @.***> wrote:

https://github.com/scmbreeze/scm_breeze/blob/0e21e89f3a32c9967f84a3b2ace761544094e9de/lib/git/status_shortcuts.rb#L91

Plz change to File.exit?

ref https://bugs.ruby-lang.org/issues/17391

— Reply to this email directly, view it on GitHub https://github.com/scmbreeze/scm_breeze/issues/322, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABHEKTMRRJXQKRVYPHWCV3WQZJZRANCNFSM6AAAAAATRREXNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rodolfoggp commented 1 year ago

I'm having the same problem here