lib/screwcap/task.rb in screwcap-0.3.4 vs lib/screwcap/task.rb in screwcap-0.3.5
- old
+ new
@@ -15,10 +15,10 @@
self.__server_names << opts[:server]
else
self.__server_names = opts[:servers]
end
- validate(opts[:deployment_servers]) unless opts[:validate] == false
+ validate(opts[:deployment_servers]) unless opts[:validate] == false or opts[:local] == true
end
# Run a command. This can either be a string, or a symbol that is the name of a command set to run.
#
#