bin/controller in robot-controller-2.0.2 vs bin/controller in robot-controller-2.0.3

- old
+ new

@@ -66,10 +66,11 @@ running = {} robots.each do |robot| running[robot] = 0 end RobotController::Parser.load("robots_#{ENV['ROBOT_ENVIRONMENT']}.yml").each do |h| - running[h[:robot]] = h[:n] + running[h[:robot]] = 0 if running[h[:robot]].nil? + running[h[:robot]] += h[:n] end # verify that all robots running are known to the config/robots.yml running.each_key do |robot| unless robots.include?(robot)