Skip to content

Replace deprecated exists? for ruby 3.2+ #3

@markbluhm

Description

@markbluhm

exists? deprecated in 2.2 and removed in 3.2,

can't push a PR but just need to swap exists? with exist?

File.exists?(git_config_path)

https://github.com/perryqh/git-safe-ruby/blob/master/lib/git-safe/git.rb#L172

expect(Dir.exists?(File.join('.git'))).to be_truthy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions