lib/dev_flow/commands/complete.rb in dev_flow-0.1.5 vs lib/dev_flow/commands/complete.rb in dev_flow-0.1.6
- old
+ new
@@ -28,12 +28,12 @@
message = ARGV[2] || "complete the branch by set progress to 99."
message = "[complete] " + message
info "Commit your progress"
`git commit -am '#{message}'`
- if @config[:git_remote]
+ if @config["git_remote"]
info "push your progress to remote server"
- `git push #{@config[:git_remote]} #{current_task.branch_name}`
+ `git push #{@config["git_remote"]} #{current_task.branch_name}`
end
# rewrite progress in ROADMAP file under develop trunk
upload_progress! current_task, progress, true
end