libraries/deploy-context/deploy/deployer.rb in deploy-context-2.1.37.6.gec1e116.4.g6190201 vs libraries/deploy-context/deploy/deployer.rb in deploy-context-2.2.0.3.gec16643
- old
+ new
@@ -22,11 +22,11 @@
Use the option 'upgrade' to bump the major version
Use the option 'test' to test the context
Use the option 'reset' to execute the local cycle once
Use the option 'help' to show this message
MESSAGE_END
- context.error_log(context, help_message)
+ context.error_log(context.context_name, help_message)
end
def execute_action(context, action)
state_action = if action.nil?
show_help(context)
@@ -72,10 +72,10 @@
false
end
end
context.commit
if state_action
- context.log "Action #{action} executed correctly in context #{context}"
+ context.log "\n\nAction #{action} executed correctly in context #{context}"
else
context.error_log(context.context_name, "Failed to execute action #{action} in context #{context}")
end
end
end