lib/lingohub/commands/auth.rb in lingohub-0.6.1 vs lib/lingohub/commands/auth.rb in lingohub-0.7.0
- old
+ new
@@ -48,10 +48,10 @@
end
@credentials
end
def read_credentials
- File.exists?(credentials_file) and File.read(credentials_file).split("\n")
+ File.exist?(credentials_file) and File.read(credentials_file).split("\n")
end
def echo_off
system "stty -echo"
end