bin/wd in whiskey_disk-0.6.17 vs bin/wd in whiskey_disk-0.6.20
- old
+ new
@@ -41,13 +41,13 @@
rest = op.parse(ARGV)
rescue
abort op.to_s
end
-raise op.to_s unless options[:target]
-raise op.to_s unless rest and rest.size == 1
+abort op.to_s unless options[:target]
+abort op.to_s unless rest and rest.size == 1
command = rest.first
-raise op.to_s unless ['deploy', 'setup'].include?(command)
+abort op.to_s unless ['deploy', 'setup'].include?(command)
ENV['to'] = options[:target]
ENV['path'] = options[:path]
ENV['only'] = options[:only]
ENV['check'] = options[:check]