lib/dev_flow/commands/complete.rb in dev_flow-0.2.2 vs lib/dev_flow/commands/complete.rb in dev_flow-0.2.3
- old
+ new
@@ -7,10 +7,10 @@
# whether I am working on a proper task branch
current_task = self.task
error "Not on a known task branch. Can not continue." unless current_task
info "Assigned resources for current task: " + current_task.resources.join(", ")
- puts "debug: resource list are #{current_task.resources.join(',')}, i am #{@config["whoami"]}"
+ info "Task resource list are #{current_task.resources.join(',')}, you are #{@config["whoami"]}"
unless current_task.resources.include?(@config["whoami"])
if i_have_power?
role = 'supervisor' if i_am_supervisor?
role = 'moderator' if i_am_moderator?
role = 'leader' if i_am_leader?