bin/rmega-up in rmega-0.3.1 vs bin/rmega-up in rmega-0.3.2
- old
+ new
@@ -28,10 +28,10 @@
apply_opt_parser_options(opts)
end.parse!
cli_rescue do
- raise("File not found - #{cli_options[:path]}") unless File.exists?(cli_options[:path])
+ raise("File not found - #{cli_options[:path]}") unless File.exist?(cli_options[:path])
user = cli_options[:user] || raise("User email is required")
session = Rmega::Session.new.login(user, cli_options[:pass] ||= cli_prompt_password)
root = session.storage.root