lib/shuttle/runner.rb in shuttle-deploy-0.3.0 vs lib/shuttle/runner.rb in shuttle-deploy-0.3.1
- old
+ new
@@ -15,9 +15,13 @@
raise ConfigError, "Config file #{config_path} does not exist"
end
@config_path = config_path
@target = target
+
+ if @options[:log]
+ ENV["SHUTTLE_DEBUG"] = "1"
+ end
end
def load_config
data = File.read(config_path).strip
\ No newline at end of file