lib/dev_flow/commands/info.rb in dev_flow-0.2.2 vs lib/dev_flow/commands/info.rb in dev_flow-0.2.3

- old
+ new

@@ -33,10 +33,10 @@ `git pull #{@config["git_remote"]} develop` if @config["git_remote"] elsif @waiting[ans.to_i] switch_to! @waiting[ans.to_i].branch_name # update your work directory - `git pull #{@config["git_remote"]} #{@waiting[ans.to_i].branch_name}` if @config["git_remote"] + `git pull #{@config["git_remote"]} #{@waiting[ans.to_i].branch_name}` if @config["git_remote"] and @waiting[ans.to_i].progress > 0 # if the task not started yet, update progress upload_progress!(@waiting[ans.to_i], 10) unless @waiting[ans.to_i].progress > 0 else error "Invalid input #{ans}. Can not continue." if ans and ans.size > 0