mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Change deprecated File.exists?/Dir.exists? to File.exist?/Dir.exist? (#6893)
* Change `File.exists?` to `File.exist?` * Change `Dir.exists?` to `Dir.exist?`
This commit is contained in:
@@ -43,7 +43,7 @@ class Stellarium < Package
|
||||
|
||||
def self.remove
|
||||
config_dir = "#{HOME}/.stellarium"
|
||||
if Dir.exists? config_dir
|
||||
if Dir.exist? config_dir
|
||||
print "Would you like to remove the config directory #{config_dir}? [y/N] "
|
||||
case STDIN.getc
|
||||
when "y", "Y"
|
||||
|
||||
Reference in New Issue
Block a user