Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

check for empty auth objects before syncing

  • Loading branch information...
commit 2d36fcce4916148eefd7249541a3abb7ac62e219 1 parent 677cdb3
@smurthas smurthas authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/taskman.js
View
2  lib/taskman.js
@@ -699,6 +699,8 @@ function runWorker(pid, callback, force)
}
function doTasksInSeries(todo, self, pi, cbDone) {
+ var pid = pi && pi.auth && pi.auth.pid;
+ if (!pid) return cbDone('No pid for pi' + JSON.stringify(pi));
// do each task serially due to config sharing!
logger.debug('working doing tasks in series', todo.length);
async.forEachSeries(todo, function(task, cbLoop) {
Please sign in to comment.
Something went wrong with that request. Please try again.