vmc-ng/lib/vmc/cli.rb in vmc-0.4.0.beta.30 vs vmc-ng/lib/vmc/cli.rb in vmc-0.4.0.beta.31

- old
+ new

@@ -68,9 +68,13 @@ super end end def precondition + unless File.exists? target_file + fail "Please select a target with 'vmc target'." + end + unless client.logged_in? fail "Please log in with 'vmc login'." end return unless v2?