git2consul
Advanced tools
Comparing version 0.0.5 to 0.0.6
45
index.js
@@ -10,29 +10,28 @@ var logging = require('./lib/utils/logging.js'); | ||
logging.init(config, function() { | ||
logging.init(config); | ||
var logger = require('./lib/utils/logging.js'); | ||
var logger = require('./lib/utils/logging.js'); | ||
var git_manager_source = require('./lib/git_manager.js'); | ||
if (!config.repos || !config.repos.length > 0) { | ||
// Fail startup. | ||
logger.error("No repos found in configuration. Halting.") | ||
process.exit(1); | ||
var git_manager_source = require('./lib/git_manager.js'); | ||
if (!config.repos || !config.repos.length > 0) { | ||
// Fail startup. | ||
logger.error("No repos found in configuration. Halting.") | ||
process.exit(1); | ||
} | ||
// TODO: Complete repo config validation | ||
logger.info('git2consul is running'); | ||
// Set up the git manager for each repo. | ||
git_manager_source.createGitManagers(config.repos, function(err) { | ||
if (err) { | ||
logger.error('Failed to create git managers due to %s', err); | ||
setTimeout(function() { | ||
// If any git manager failed to start, consider this a fatal error. | ||
process.exit(2); | ||
}, 2000); | ||
} | ||
// TODO: Complete repo config validation | ||
logger.info('git2consul is running'); | ||
// Set up the git manager for each repo. | ||
git_manager_source.createGitManagers(config.repos, function(err) { | ||
if (err) { | ||
logger.error('Failed to create git managers due to %s', err); | ||
setTimeout(function() { | ||
// If any git manager failed to start, consider this a fatal error. | ||
process.exit(2); | ||
}, 2000); | ||
} | ||
}); | ||
}); | ||
}); |
@@ -17,2 +17,3 @@ var fs = require('fs'); | ||
var pending_ref_change = undefined; | ||
var pending_callbacks = []; | ||
@@ -95,2 +96,6 @@ var most_recent_ref = undefined; | ||
// Grab a local copy of pending callbacks and reset the array. | ||
var my_pending_callbacks = pending_callbacks; | ||
pending_callbacks = [] | ||
// If a request to handle a ref_change came in while we were processing a prior ref_change, run | ||
@@ -100,3 +105,5 @@ // handleRefChange again. | ||
bm.handleRefChange(pending_ref_change, function(err) { | ||
if (err) logger.error(err); | ||
my_pending_callbacks.forEach(function(pending_callback) { | ||
pending_callback(err); | ||
}); | ||
}); | ||
@@ -118,10 +125,6 @@ | ||
pending_ref_change = target_ref; | ||
return cb(null, 'Another refChange is in flight. Queueing this one.'); | ||
pending_callbacks.push(cb); | ||
return; | ||
} | ||
if (this.getMostRecentRef() === target_ref) { | ||
logger.debug('Branch %s already at most recent version', this.getBranchName()); | ||
return cb(null); | ||
} | ||
this.pull(wrap_callback(this, cb)); | ||
@@ -128,0 +131,0 @@ }; |
@@ -24,3 +24,3 @@ var fs = require('fs'); | ||
function GitManager() {} | ||
var this_obj = new GitManager(); | ||
@@ -27,0 +27,0 @@ var branch_count = 0; |
@@ -5,2 +5,3 @@ | ||
/* istanbul ignore next */ | ||
/** | ||
@@ -7,0 +8,0 @@ * Grab the meta config to bootstrap git2consul. |
@@ -29,2 +29,10 @@ var exec = require('child_process').exec; | ||
exports.mv = function(old_file, new_file, cwd, cb) { | ||
run_command('git mv ' + old_file + ' ' + new_file, cwd, cb); | ||
}; | ||
exports.delete = function(filename, cwd, cb) { | ||
run_command('git rm ' + filename, cwd, cb); | ||
}; | ||
exports.commit = function(message, cwd, cb) { | ||
@@ -31,0 +39,0 @@ run_command('git commit -m "' + message + '"', cwd, cb); |
@@ -11,3 +11,3 @@ var util = require('util'); | ||
// Init the logger with a configuration object | ||
module.exports.init = function(config, cb) { | ||
module.exports.init = function(config) { | ||
@@ -24,4 +24,2 @@ // If no logger is defined in the config, there's nothing more to do. We'll just continue using the | ||
module.exports = bunyan.createLogger(config.logger); | ||
cb(); | ||
}; |
{ | ||
"name": "git2consul", | ||
"description": "System for moving data from git to consul", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"contributors": [ | ||
@@ -6,0 +6,0 @@ { |
@@ -1,1 +0,1 @@ | ||
{"/Users/wrb/vistaprint/code/git_to_consul/lib/utils/git_commands.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/utils/git_commands.js","s":{"1":1,"2":1,"3":1,"4":1,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":1,"12":1,"13":1,"14":0,"15":1,"16":0,"17":1,"18":0,"19":1,"20":0,"21":1,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":1,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":1,"41":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0]},"f":{"1":1,"2":0,"3":1,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0},"fnMap":{"1":{"name":"(anonymous_1)","line":10,"loc":{"start":{"line":10,"column":18},"end":{"line":10,"column":41}}},"2":{"name":"(anonymous_2)","line":12,"loc":{"start":{"line":12,"column":36},"end":{"line":12,"column":66}}},"3":{"name":"(anonymous_3)","line":21,"loc":{"start":{"line":21,"column":15},"end":{"line":21,"column":33}}},"4":{"name":"(anonymous_4)","line":25,"loc":{"start":{"line":25,"column":14},"end":{"line":25,"column":42}}},"5":{"name":"(anonymous_5)","line":29,"loc":{"start":{"line":29,"column":17},"end":{"line":29,"column":44}}},"6":{"name":"(anonymous_6)","line":33,"loc":{"start":{"line":33,"column":16},"end":{"line":33,"column":68}}},"7":{"name":"(anonymous_7)","line":37,"loc":{"start":{"line":37,"column":15},"end":{"line":37,"column":33}}},"8":{"name":"(anonymous_8)","line":41,"loc":{"start":{"line":41,"column":27},"end":{"line":41,"column":63}}},"9":{"name":"(anonymous_9)","line":42,"loc":{"start":{"line":42,"column":72},"end":{"line":42,"column":94}}},"10":{"name":"(anonymous_10)","line":47,"loc":{"start":{"line":47,"column":18},"end":{"line":47,"column":33}}},"11":{"name":"(anonymous_11)","line":56,"loc":{"start":{"line":56,"column":23},"end":{"line":56,"column":41}}},"12":{"name":"(anonymous_12)","line":57,"loc":{"start":{"line":57,"column":56},"end":{"line":57,"column":78}}},"13":{"name":"(anonymous_13)","line":62,"loc":{"start":{"line":62,"column":18},"end":{"line":62,"column":33}}},"14":{"name":"(anonymous_14)","line":70,"loc":{"start":{"line":70,"column":24},"end":{"line":70,"column":42}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":41}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":37}},"3":{"start":{"line":10,"column":0},"end":{"line":19,"column":2}},"4":{"start":{"line":11,"column":2},"end":{"line":11,"column":45}},"5":{"start":{"line":12,"column":2},"end":{"line":18,"column":5}},"6":{"start":{"line":13,"column":4},"end":{"line":13,"column":39}},"7":{"start":{"line":13,"column":16},"end":{"line":13,"column":39}},"8":{"start":{"line":15,"column":4},"end":{"line":15,"column":54}},"9":{"start":{"line":15,"column":13},"end":{"line":15,"column":54}},"10":{"start":{"line":17,"column":4},"end":{"line":17,"column":21}},"11":{"start":{"line":21,"column":0},"end":{"line":23,"column":2}},"12":{"start":{"line":22,"column":2},"end":{"line":22,"column":35}},"13":{"start":{"line":25,"column":0},"end":{"line":27,"column":2}},"14":{"start":{"line":26,"column":2},"end":{"line":26,"column":46}},"15":{"start":{"line":29,"column":0},"end":{"line":31,"column":2}},"16":{"start":{"line":30,"column":2},"end":{"line":30,"column":58}},"17":{"start":{"line":33,"column":0},"end":{"line":35,"column":2}},"18":{"start":{"line":34,"column":2},"end":{"line":34,"column":89}},"19":{"start":{"line":37,"column":0},"end":{"line":39,"column":2}},"20":{"start":{"line":38,"column":2},"end":{"line":38,"column":35}},"21":{"start":{"line":41,"column":0},"end":{"line":54,"column":2}},"22":{"start":{"line":42,"column":2},"end":{"line":53,"column":5}},"23":{"start":{"line":43,"column":4},"end":{"line":43,"column":28}},"24":{"start":{"line":43,"column":13},"end":{"line":43,"column":28}},"25":{"start":{"line":45,"column":4},"end":{"line":45,"column":21}},"26":{"start":{"line":46,"column":4},"end":{"line":46,"column":35}},"27":{"start":{"line":47,"column":4},"end":{"line":50,"column":7}},"28":{"start":{"line":48,"column":6},"end":{"line":48,"column":37}},"29":{"start":{"line":49,"column":6},"end":{"line":49,"column":59}},"30":{"start":{"line":52,"column":4},"end":{"line":52,"column":22}},"31":{"start":{"line":56,"column":0},"end":{"line":68,"column":2}},"32":{"start":{"line":57,"column":2},"end":{"line":67,"column":5}},"33":{"start":{"line":58,"column":4},"end":{"line":58,"column":28}},"34":{"start":{"line":58,"column":13},"end":{"line":58,"column":28}},"35":{"start":{"line":60,"column":4},"end":{"line":60,"column":21}},"36":{"start":{"line":61,"column":4},"end":{"line":61,"column":35}},"37":{"start":{"line":62,"column":4},"end":{"line":64,"column":7}},"38":{"start":{"line":63,"column":6},"end":{"line":63,"column":48}},"39":{"start":{"line":66,"column":4},"end":{"line":66,"column":22}},"40":{"start":{"line":70,"column":0},"end":{"line":72,"column":2}},"41":{"start":{"line":71,"column":2},"end":{"line":71,"column":60}}},"branchMap":{"1":{"line":13,"type":"if","locations":[{"start":{"line":13,"column":4},"end":{"line":13,"column":4}},{"start":{"line":13,"column":4},"end":{"line":13,"column":4}}]},"2":{"line":15,"type":"if","locations":[{"start":{"line":15,"column":4},"end":{"line":15,"column":4}},{"start":{"line":15,"column":4},"end":{"line":15,"column":4}}]},"3":{"line":43,"type":"if","locations":[{"start":{"line":43,"column":4},"end":{"line":43,"column":4}},{"start":{"line":43,"column":4},"end":{"line":43,"column":4}}]},"4":{"line":58,"type":"if","locations":[{"start":{"line":58,"column":4},"end":{"line":58,"column":4}},{"start":{"line":58,"column":4},"end":{"line":58,"column":4}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/utils/logging.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/utils/logging.js","s":{"1":1,"2":1,"3":1,"4":1,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0]},"f":{"1":0,"2":0,"3":0},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":22},"end":{"line":7,"column":35}}},"2":{"name":"(anonymous_2)","line":9,"loc":{"start":{"line":9,"column":21},"end":{"line":9,"column":43}}},"3":{"name":"(anonymous_3)","line":15,"loc":{"start":{"line":15,"column":34},"end":{"line":15,"column":51}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":31}},"3":{"start":{"line":5,"column":0},"end":{"line":5,"column":50}},"4":{"start":{"line":7,"column":0},"end":{"line":24,"column":2}},"5":{"start":{"line":9,"column":2},"end":{"line":23,"column":5}},"6":{"start":{"line":11,"column":4},"end":{"line":13,"column":5}},"7":{"start":{"line":12,"column":6},"end":{"line":12,"column":38}},"8":{"start":{"line":15,"column":4},"end":{"line":18,"column":7}},"9":{"start":{"line":16,"column":6},"end":{"line":17,"column":82}},"10":{"start":{"line":16,"column":46},"end":{"line":16,"column":77}},"11":{"start":{"line":17,"column":11},"end":{"line":17,"column":82}},"12":{"start":{"line":17,"column":51},"end":{"line":17,"column":82}},"13":{"start":{"line":20,"column":4},"end":{"line":20,"column":56}},"14":{"start":{"line":22,"column":4},"end":{"line":22,"column":9}}},"branchMap":{"1":{"line":11,"type":"if","locations":[{"start":{"line":11,"column":4},"end":{"line":11,"column":4}},{"start":{"line":11,"column":4},"end":{"line":11,"column":4}}]},"2":{"line":16,"type":"if","locations":[{"start":{"line":16,"column":6},"end":{"line":16,"column":6}},{"start":{"line":16,"column":6},"end":{"line":16,"column":6}}]},"3":{"line":17,"type":"if","locations":[{"start":{"line":17,"column":11},"end":{"line":17,"column":11}},{"start":{"line":17,"column":11},"end":{"line":17,"column":11}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/utils/config_reader.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/utils/config_reader.js","s":{"1":1,"2":1,"3":1,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0},"b":{"1":[0,0],"2":[0,0]},"f":{"1":0,"2":0},"fnMap":{"1":{"name":"(anonymous_1)","line":8,"loc":{"start":{"line":8,"column":15},"end":{"line":8,"column":34}}},"2":{"name":"(anonymous_2)","line":14,"loc":{"start":{"line":14,"column":22},"end":{"line":14,"column":43}}}},"statementMap":{"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":36}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":26}},"3":{"start":{"line":8,"column":0},"end":{"line":25,"column":2}},"4":{"start":{"line":9,"column":2},"end":{"line":12,"column":3}},"5":{"start":{"line":10,"column":4},"end":{"line":10,"column":14}},"6":{"start":{"line":11,"column":4},"end":{"line":11,"column":32}},"7":{"start":{"line":14,"column":2},"end":{"line":24,"column":5}},"8":{"start":{"line":15,"column":4},"end":{"line":15,"column":28}},"9":{"start":{"line":15,"column":13},"end":{"line":15,"column":28}},"10":{"start":{"line":17,"column":4},"end":{"line":21,"column":5}},"11":{"start":{"line":18,"column":6},"end":{"line":18,"column":46}},"12":{"start":{"line":20,"column":6},"end":{"line":20,"column":85}},"13":{"start":{"line":22,"column":4},"end":{"line":22,"column":21}}},"branchMap":{"1":{"line":9,"type":"if","locations":[{"start":{"line":9,"column":2},"end":{"line":9,"column":2}},{"start":{"line":9,"column":2},"end":{"line":9,"column":2}}]},"2":{"line":15,"type":"if","locations":[{"start":{"line":15,"column":4},"end":{"line":15,"column":4}},{"start":{"line":15,"column":4},"end":{"line":15,"column":4}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/git_manager.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/git_manager.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":0,"10":1,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":1,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0},"fnMap":{"1":{"name":"(anonymous_1)","line":19,"loc":{"start":{"line":19,"column":27},"end":{"line":19,"column":48}}},"2":{"name":"GitManager","line":23,"loc":{"start":{"line":23,"column":2},"end":{"line":23,"column":24}}},"3":{"name":"(anonymous_3)","line":31,"loc":{"start":{"line":31,"column":29},"end":{"line":31,"column":43}}},"4":{"name":"(anonymous_4)","line":35,"loc":{"start":{"line":35,"column":28},"end":{"line":35,"column":45}}},"5":{"name":"(anonymous_5)","line":36,"loc":{"start":{"line":36,"column":57},"end":{"line":36,"column":75}}},"6":{"name":"(anonymous_6)","line":53,"loc":{"start":{"line":53,"column":33},"end":{"line":53,"column":48}}},"7":{"name":"(anonymous_7)","line":71,"loc":{"start":{"line":71,"column":37},"end":{"line":71,"column":48}}},"8":{"name":"(anonymous_8)","line":75,"loc":{"start":{"line":75,"column":40},"end":{"line":75,"column":51}}},"9":{"name":"(anonymous_9)","line":79,"loc":{"start":{"line":79,"column":42},"end":{"line":79,"column":64}}},"10":{"name":"(anonymous_10)","line":91,"loc":{"start":{"line":91,"column":28},"end":{"line":91,"column":48}}},"11":{"name":"(anonymous_11)","line":99,"loc":{"start":{"line":99,"column":16},"end":{"line":99,"column":38}}},"12":{"name":"(anonymous_12)","line":100,"loc":{"start":{"line":100,"column":42},"end":{"line":100,"column":69}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":27}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":31}},"4":{"start":{"line":4,"column":0},"end":{"line":4,"column":27}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":43}},"6":{"start":{"line":8,"column":0},"end":{"line":8,"column":52}},"7":{"start":{"line":10,"column":0},"end":{"line":14,"column":2}},"8":{"start":{"line":19,"column":0},"end":{"line":83,"column":2}},"9":{"start":{"line":21,"column":2},"end":{"line":21,"column":27}},"10":{"start":{"line":23,"column":2},"end":{"line":23,"column":26}},"11":{"start":{"line":25,"column":2},"end":{"line":25,"column":34}},"12":{"start":{"line":26,"column":2},"end":{"line":26,"column":23}},"13":{"start":{"line":28,"column":2},"end":{"line":28,"column":91}},"14":{"start":{"line":28,"column":56},"end":{"line":28,"column":91}},"15":{"start":{"line":31,"column":2},"end":{"line":69,"column":5}},"16":{"start":{"line":33,"column":4},"end":{"line":33,"column":82}},"17":{"start":{"line":33,"column":13},"end":{"line":33,"column":82}},"18":{"start":{"line":35,"column":4},"end":{"line":68,"column":7}},"19":{"start":{"line":36,"column":6},"end":{"line":67,"column":9}},"20":{"start":{"line":37,"column":8},"end":{"line":37,"column":89}},"21":{"start":{"line":37,"column":17},"end":{"line":37,"column":89}},"22":{"start":{"line":39,"column":8},"end":{"line":39,"column":23}},"23":{"start":{"line":42,"column":8},"end":{"line":42,"column":73}},"24":{"start":{"line":43,"column":8},"end":{"line":43,"column":49}},"25":{"start":{"line":45,"column":8},"end":{"line":66,"column":9}},"26":{"start":{"line":47,"column":10},"end":{"line":47,"column":54}},"27":{"start":{"line":49,"column":10},"end":{"line":63,"column":11}},"28":{"start":{"line":51,"column":12},"end":{"line":51,"column":26}},"29":{"start":{"line":53,"column":12},"end":{"line":60,"column":15}},"30":{"start":{"line":54,"column":14},"end":{"line":54,"column":60}},"31":{"start":{"line":55,"column":14},"end":{"line":57,"column":15}},"32":{"start":{"line":56,"column":16},"end":{"line":56,"column":67}},"33":{"start":{"line":59,"column":14},"end":{"line":59,"column":49}},"34":{"start":{"line":62,"column":12},"end":{"line":62,"column":49}},"35":{"start":{"line":62,"column":33},"end":{"line":62,"column":49}},"36":{"start":{"line":65,"column":10},"end":{"line":65,"column":29}},"37":{"start":{"line":71,"column":2},"end":{"line":73,"column":4}},"38":{"start":{"line":72,"column":4},"end":{"line":72,"column":23}},"39":{"start":{"line":75,"column":2},"end":{"line":77,"column":4}},"40":{"start":{"line":76,"column":4},"end":{"line":76,"column":27}},"41":{"start":{"line":79,"column":2},"end":{"line":81,"column":4}},"42":{"start":{"line":80,"column":4},"end":{"line":80,"column":40}},"43":{"start":{"line":91,"column":0},"end":{"line":112,"column":2}},"44":{"start":{"line":93,"column":2},"end":{"line":93,"column":101}},"45":{"start":{"line":93,"column":54},"end":{"line":93,"column":101}},"46":{"start":{"line":95,"column":2},"end":{"line":95,"column":42}},"47":{"start":{"line":96,"column":2},"end":{"line":96,"column":18}},"48":{"start":{"line":97,"column":2},"end":{"line":97,"column":24}},"49":{"start":{"line":99,"column":2},"end":{"line":111,"column":5}},"50":{"start":{"line":100,"column":4},"end":{"line":110,"column":7}},"51":{"start":{"line":101,"column":6},"end":{"line":101,"column":49}},"52":{"start":{"line":101,"column":15},"end":{"line":101,"column":49}},"53":{"start":{"line":103,"column":6},"end":{"line":104,"column":42}},"54":{"start":{"line":103,"column":15},"end":{"line":103,"column":32}},"55":{"start":{"line":104,"column":11},"end":{"line":104,"column":42}},"56":{"start":{"line":106,"column":6},"end":{"line":106,"column":29}},"57":{"start":{"line":107,"column":6},"end":{"line":109,"column":7}},"58":{"start":{"line":108,"column":8},"end":{"line":108,"column":69}}},"branchMap":{"1":{"line":28,"type":"if","locations":[{"start":{"line":28,"column":2},"end":{"line":28,"column":2}},{"start":{"line":28,"column":2},"end":{"line":28,"column":2}}]},"2":{"line":28,"type":"binary-expr","locations":[{"start":{"line":28,"column":6},"end":{"line":28,"column":22}},{"start":{"line":28,"column":26},"end":{"line":28,"column":54}}]},"3":{"line":33,"type":"if","locations":[{"start":{"line":33,"column":4},"end":{"line":33,"column":4}},{"start":{"line":33,"column":4},"end":{"line":33,"column":4}}]},"4":{"line":37,"type":"if","locations":[{"start":{"line":37,"column":8},"end":{"line":37,"column":8}},{"start":{"line":37,"column":8},"end":{"line":37,"column":8}}]},"5":{"line":45,"type":"if","locations":[{"start":{"line":45,"column":8},"end":{"line":45,"column":8}},{"start":{"line":45,"column":8},"end":{"line":45,"column":8}}]},"6":{"line":49,"type":"if","locations":[{"start":{"line":49,"column":10},"end":{"line":49,"column":10}},{"start":{"line":49,"column":10},"end":{"line":49,"column":10}}]},"7":{"line":55,"type":"if","locations":[{"start":{"line":55,"column":14},"end":{"line":55,"column":14}},{"start":{"line":55,"column":14},"end":{"line":55,"column":14}}]},"8":{"line":62,"type":"if","locations":[{"start":{"line":62,"column":12},"end":{"line":62,"column":12}},{"start":{"line":62,"column":12},"end":{"line":62,"column":12}}]},"9":{"line":93,"type":"if","locations":[{"start":{"line":93,"column":2},"end":{"line":93,"column":2}},{"start":{"line":93,"column":2},"end":{"line":93,"column":2}}]},"10":{"line":93,"type":"binary-expr","locations":[{"start":{"line":93,"column":6},"end":{"line":93,"column":12}},{"start":{"line":93,"column":16},"end":{"line":93,"column":29}},{"start":{"line":93,"column":33},"end":{"line":93,"column":52}}]},"11":{"line":101,"type":"if","locations":[{"start":{"line":101,"column":6},"end":{"line":101,"column":6}},{"start":{"line":101,"column":6},"end":{"line":101,"column":6}}]},"12":{"line":103,"type":"if","locations":[{"start":{"line":103,"column":6},"end":{"line":103,"column":6}},{"start":{"line":103,"column":6},"end":{"line":103,"column":6}}]},"13":{"line":107,"type":"if","locations":[{"start":{"line":107,"column":6},"end":{"line":107,"column":6}},{"start":{"line":107,"column":6},"end":{"line":107,"column":6}}]},"14":{"line":108,"type":"cond-expr","locations":[{"start":{"line":108,"column":40},"end":{"line":108,"column":44}},{"start":{"line":108,"column":47},"end":{"line":108,"column":53}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/branch_manager.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/branch_manager.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":0,"9":0,"10":0,"11":0,"12":0,"13":1,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0},"fnMap":{"1":{"name":"(anonymous_1)","line":10,"loc":{"start":{"line":10,"column":30},"end":{"line":10,"column":86}}},"2":{"name":"BranchManager","line":24,"loc":{"start":{"line":24,"column":2},"end":{"line":24,"column":27}}},"3":{"name":"(anonymous_3)","line":29,"loc":{"start":{"line":29,"column":14},"end":{"line":29,"column":31}}},"4":{"name":"(anonymous_4)","line":30,"loc":{"start":{"line":30,"column":81},"end":{"line":30,"column":103}}},"5":{"name":"(anonymous_5)","line":40,"loc":{"start":{"line":40,"column":33},"end":{"line":40,"column":46}}},"6":{"name":"(anonymous_6)","line":42,"loc":{"start":{"line":42,"column":40},"end":{"line":42,"column":62}}},"7":{"name":"(anonymous_7)","line":48,"loc":{"start":{"line":48,"column":45},"end":{"line":48,"column":76}}},"8":{"name":"(anonymous_8)","line":52,"loc":{"start":{"line":52,"column":41},"end":{"line":52,"column":54}}},"9":{"name":"(anonymous_9)","line":56,"loc":{"start":{"line":56,"column":42},"end":{"line":56,"column":55}}},"10":{"name":"(anonymous_10)","line":60,"loc":{"start":{"line":60,"column":40},"end":{"line":60,"column":51}}},"11":{"name":"(anonymous_11)","line":64,"loc":{"start":{"line":64,"column":42},"end":{"line":64,"column":53}}},"12":{"name":"(anonymous_12)","line":68,"loc":{"start":{"line":68,"column":47},"end":{"line":68,"column":58}}},"13":{"name":"(anonymous_13)","line":72,"loc":{"start":{"line":72,"column":45},"end":{"line":72,"column":56}}},"14":{"name":"(anonymous_14)","line":76,"loc":{"start":{"line":76,"column":45},"end":{"line":76,"column":59}}},"15":{"name":"(anonymous_15)","line":85,"loc":{"start":{"line":85,"column":22},"end":{"line":85,"column":39}}},"16":{"name":"(anonymous_16)","line":90,"loc":{"start":{"line":90,"column":11},"end":{"line":90,"column":33}}},"17":{"name":"(anonymous_17)","line":97,"loc":{"start":{"line":97,"column":47},"end":{"line":97,"column":61}}},"18":{"name":"(anonymous_18)","line":110,"loc":{"start":{"line":110,"column":44},"end":{"line":110,"column":69}}},"19":{"name":"(anonymous_19)","line":130,"loc":{"start":{"line":130,"column":25},"end":{"line":130,"column":45}}},"20":{"name":"(anonymous_20)","line":133,"loc":{"start":{"line":133,"column":30},"end":{"line":133,"column":49}}},"21":{"name":"(anonymous_21)","line":140,"loc":{"start":{"line":140,"column":16},"end":{"line":140,"column":35}}},"22":{"name":"(anonymous_22)","line":149,"loc":{"start":{"line":149,"column":26},"end":{"line":149,"column":40}}},"23":{"name":"(anonymous_23)","line":153,"loc":{"start":{"line":153,"column":16},"end":{"line":153,"column":35}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":27}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":31}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":43}},"5":{"start":{"line":7,"column":0},"end":{"line":7,"column":50}},"6":{"start":{"line":8,"column":0},"end":{"line":8,"column":54}},"7":{"start":{"line":10,"column":0},"end":{"line":160,"column":2}},"8":{"start":{"line":12,"column":2},"end":{"line":12,"column":66}},"9":{"start":{"line":13,"column":2},"end":{"line":13,"column":69}},"10":{"start":{"line":15,"column":2},"end":{"line":15,"column":33}},"11":{"start":{"line":16,"column":2},"end":{"line":16,"column":37}},"12":{"start":{"line":18,"column":2},"end":{"line":18,"column":34}},"13":{"start":{"line":24,"column":2},"end":{"line":24,"column":29}},"14":{"start":{"line":29,"column":2},"end":{"line":34,"column":4}},"15":{"start":{"line":30,"column":4},"end":{"line":33,"column":7}},"16":{"start":{"line":31,"column":6},"end":{"line":31,"column":30}},"17":{"start":{"line":31,"column":15},"end":{"line":31,"column":30}},"18":{"start":{"line":32,"column":6},"end":{"line":32,"column":44}},"19":{"start":{"line":40,"column":2},"end":{"line":46,"column":4}},"20":{"start":{"line":41,"column":4},"end":{"line":41,"column":24}},"21":{"start":{"line":42,"column":4},"end":{"line":45,"column":7}},"22":{"start":{"line":43,"column":6},"end":{"line":43,"column":30}},"23":{"start":{"line":43,"column":15},"end":{"line":43,"column":30}},"24":{"start":{"line":44,"column":6},"end":{"line":44,"column":50}},"25":{"start":{"line":48,"column":2},"end":{"line":50,"column":4}},"26":{"start":{"line":49,"column":4},"end":{"line":49,"column":74}},"27":{"start":{"line":52,"column":2},"end":{"line":54,"column":4}},"28":{"start":{"line":53,"column":4},"end":{"line":53,"column":52}},"29":{"start":{"line":56,"column":2},"end":{"line":58,"column":4}},"30":{"start":{"line":57,"column":4},"end":{"line":57,"column":53}},"31":{"start":{"line":60,"column":2},"end":{"line":62,"column":4}},"32":{"start":{"line":61,"column":4},"end":{"line":61,"column":28}},"33":{"start":{"line":64,"column":2},"end":{"line":66,"column":4}},"34":{"start":{"line":65,"column":4},"end":{"line":65,"column":18}},"35":{"start":{"line":68,"column":2},"end":{"line":70,"column":4}},"36":{"start":{"line":69,"column":4},"end":{"line":69,"column":28}},"37":{"start":{"line":72,"column":2},"end":{"line":74,"column":4}},"38":{"start":{"line":73,"column":4},"end":{"line":73,"column":27}},"39":{"start":{"line":76,"column":2},"end":{"line":78,"column":4}},"40":{"start":{"line":77,"column":4},"end":{"line":77,"column":26}},"41":{"start":{"line":85,"column":2},"end":{"line":108,"column":4}},"42":{"start":{"line":88,"column":4},"end":{"line":88,"column":30}},"43":{"start":{"line":90,"column":4},"end":{"line":107,"column":6}},"44":{"start":{"line":92,"column":6},"end":{"line":92,"column":33}},"45":{"start":{"line":96,"column":6},"end":{"line":103,"column":7}},"46":{"start":{"line":97,"column":8},"end":{"line":99,"column":11}},"47":{"start":{"line":98,"column":10},"end":{"line":98,"column":37}},"48":{"start":{"line":98,"column":19},"end":{"line":98,"column":37}},"49":{"start":{"line":102,"column":8},"end":{"line":102,"column":39}},"50":{"start":{"line":106,"column":6},"end":{"line":106,"column":22}},"51":{"start":{"line":110,"column":2},"end":{"line":124,"column":4}},"52":{"start":{"line":113,"column":4},"end":{"line":116,"column":5}},"53":{"start":{"line":114,"column":6},"end":{"line":114,"column":38}},"54":{"start":{"line":115,"column":6},"end":{"line":115,"column":77}},"55":{"start":{"line":118,"column":4},"end":{"line":121,"column":5}},"56":{"start":{"line":119,"column":6},"end":{"line":119,"column":85}},"57":{"start":{"line":120,"column":6},"end":{"line":120,"column":22}},"58":{"start":{"line":123,"column":4},"end":{"line":123,"column":39}},"59":{"start":{"line":127,"column":2},"end":{"line":127,"column":31}},"60":{"start":{"line":130,"column":2},"end":{"line":159,"column":5}},"61":{"start":{"line":131,"column":4},"end":{"line":146,"column":5}},"62":{"start":{"line":133,"column":6},"end":{"line":145,"column":9}},"63":{"start":{"line":134,"column":8},"end":{"line":134,"column":54}},"64":{"start":{"line":134,"column":17},"end":{"line":134,"column":54}},"65":{"start":{"line":138,"column":8},"end":{"line":138,"column":33}},"66":{"start":{"line":140,"column":8},"end":{"line":144,"column":11}},"67":{"start":{"line":141,"column":10},"end":{"line":141,"column":56}},"68":{"start":{"line":141,"column":19},"end":{"line":141,"column":56}},"69":{"start":{"line":142,"column":10},"end":{"line":142,"column":61}},"70":{"start":{"line":143,"column":10},"end":{"line":143,"column":45}},"71":{"start":{"line":149,"column":4},"end":{"line":158,"column":7}},"72":{"start":{"line":150,"column":6},"end":{"line":150,"column":52}},"73":{"start":{"line":150,"column":15},"end":{"line":150,"column":52}},"74":{"start":{"line":153,"column":6},"end":{"line":157,"column":9}},"75":{"start":{"line":154,"column":8},"end":{"line":154,"column":54}},"76":{"start":{"line":154,"column":17},"end":{"line":154,"column":54}},"77":{"start":{"line":155,"column":8},"end":{"line":155,"column":59}},"78":{"start":{"line":156,"column":8},"end":{"line":156,"column":43}}},"branchMap":{"1":{"line":31,"type":"if","locations":[{"start":{"line":31,"column":6},"end":{"line":31,"column":6}},{"start":{"line":31,"column":6},"end":{"line":31,"column":6}}]},"2":{"line":43,"type":"if","locations":[{"start":{"line":43,"column":6},"end":{"line":43,"column":6}},{"start":{"line":43,"column":6},"end":{"line":43,"column":6}}]},"3":{"line":96,"type":"if","locations":[{"start":{"line":96,"column":6},"end":{"line":96,"column":6}},{"start":{"line":96,"column":6},"end":{"line":96,"column":6}}]},"4":{"line":98,"type":"if","locations":[{"start":{"line":98,"column":10},"end":{"line":98,"column":10}},{"start":{"line":98,"column":10},"end":{"line":98,"column":10}}]},"5":{"line":113,"type":"if","locations":[{"start":{"line":113,"column":4},"end":{"line":113,"column":4}},{"start":{"line":113,"column":4},"end":{"line":113,"column":4}}]},"6":{"line":118,"type":"if","locations":[{"start":{"line":118,"column":4},"end":{"line":118,"column":4}},{"start":{"line":118,"column":4},"end":{"line":118,"column":4}}]},"7":{"line":131,"type":"if","locations":[{"start":{"line":131,"column":4},"end":{"line":131,"column":4}},{"start":{"line":131,"column":4},"end":{"line":131,"column":4}}]},"8":{"line":134,"type":"if","locations":[{"start":{"line":134,"column":8},"end":{"line":134,"column":8}},{"start":{"line":134,"column":8},"end":{"line":134,"column":8}}]},"9":{"line":141,"type":"if","locations":[{"start":{"line":141,"column":10},"end":{"line":141,"column":10}},{"start":{"line":141,"column":10},"end":{"line":141,"column":10}}]},"10":{"line":150,"type":"if","locations":[{"start":{"line":150,"column":6},"end":{"line":150,"column":6}},{"start":{"line":150,"column":6},"end":{"line":150,"column":6}}]},"11":{"line":154,"type":"if","locations":[{"start":{"line":154,"column":8},"end":{"line":154,"column":8}},{"start":{"line":154,"column":8},"end":{"line":154,"column":8}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/consul_broker.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/consul_broker.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":1,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":1,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":1,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0,0,0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0},"fnMap":{"1":{"name":"(anonymous_1)","line":12,"loc":{"start":{"line":12,"column":20},"end":{"line":12,"column":55}}},"2":{"name":"(anonymous_2)","line":16,"loc":{"start":{"line":16,"column":38},"end":{"line":16,"column":58}}},"3":{"name":"(anonymous_3)","line":24,"loc":{"start":{"line":24,"column":34},"end":{"line":24,"column":48}}},"4":{"name":"(anonymous_4)","line":34,"loc":{"start":{"line":34,"column":19},"end":{"line":34,"column":54}}},"5":{"name":"(anonymous_5)","line":38,"loc":{"start":{"line":38,"column":29},"end":{"line":38,"column":43}}},"6":{"name":"(anonymous_6)","line":56,"loc":{"start":{"line":56,"column":22},"end":{"line":56,"column":60}}},"7":{"name":"(anonymous_7)","line":61,"loc":{"start":{"line":61,"column":22},"end":{"line":61,"column":36}}},"8":{"name":"(anonymous_8)","line":74,"loc":{"start":{"line":74,"column":18},"end":{"line":74,"column":35}}},"9":{"name":"(anonymous_9)","line":104,"loc":{"start":{"line":104,"column":26},"end":{"line":104,"column":55}}},"10":{"name":"(anonymous_10)","line":107,"loc":{"start":{"line":107,"column":31},"end":{"line":107,"column":50}}},"11":{"name":"(anonymous_11)","line":113,"loc":{"start":{"line":113,"column":25},"end":{"line":113,"column":48}}},"12":{"name":"(anonymous_12)","line":115,"loc":{"start":{"line":115,"column":47},"end":{"line":115,"column":62}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":27}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":43}},"4":{"start":{"line":6,"column":0},"end":{"line":6,"column":41}},"5":{"start":{"line":7,"column":0},"end":{"line":7,"column":31}},"6":{"start":{"line":12,"column":0},"end":{"line":29,"column":2}},"7":{"start":{"line":14,"column":2},"end":{"line":14,"column":66}},"8":{"start":{"line":16,"column":2},"end":{"line":28,"column":5}},"9":{"start":{"line":19,"column":4},"end":{"line":19,"column":100}},"10":{"start":{"line":20,"column":4},"end":{"line":20,"column":39}},"11":{"start":{"line":22,"column":4},"end":{"line":22,"column":71}},"12":{"start":{"line":22,"column":13},"end":{"line":22,"column":71}},"13":{"start":{"line":23,"column":4},"end":{"line":23,"column":60}},"14":{"start":{"line":24,"column":4},"end":{"line":27,"column":7}},"15":{"start":{"line":25,"column":6},"end":{"line":25,"column":80}},"16":{"start":{"line":25,"column":15},"end":{"line":25,"column":80}},"17":{"start":{"line":26,"column":6},"end":{"line":26,"column":11}},"18":{"start":{"line":34,"column":0},"end":{"line":42,"column":2}},"19":{"start":{"line":36,"column":2},"end":{"line":36,"column":98}},"20":{"start":{"line":37,"column":2},"end":{"line":37,"column":44}},"21":{"start":{"line":38,"column":2},"end":{"line":41,"column":5}},"22":{"start":{"line":39,"column":4},"end":{"line":39,"column":78}},"23":{"start":{"line":39,"column":13},"end":{"line":39,"column":78}},"24":{"start":{"line":40,"column":4},"end":{"line":40,"column":9}},"25":{"start":{"line":56,"column":0},"end":{"line":96,"column":2}},"26":{"start":{"line":58,"column":2},"end":{"line":58,"column":26}},"27":{"start":{"line":59,"column":2},"end":{"line":59,"column":23}},"28":{"start":{"line":61,"column":2},"end":{"line":72,"column":4}},"29":{"start":{"line":62,"column":4},"end":{"line":62,"column":35}},"30":{"start":{"line":62,"column":13},"end":{"line":62,"column":35}},"31":{"start":{"line":64,"column":4},"end":{"line":64,"column":22}},"32":{"start":{"line":67,"column":4},"end":{"line":67,"column":79}},"33":{"start":{"line":67,"column":31},"end":{"line":67,"column":79}},"34":{"start":{"line":74,"column":2},"end":{"line":95,"column":5}},"35":{"start":{"line":75,"column":4},"end":{"line":75,"column":76}},"36":{"start":{"line":77,"column":4},"end":{"line":94,"column":5}},"37":{"start":{"line":83,"column":8},"end":{"line":83,"column":26}},"38":{"start":{"line":84,"column":8},"end":{"line":84,"column":66}},"39":{"start":{"line":85,"column":8},"end":{"line":85,"column":14}},"40":{"start":{"line":88,"column":8},"end":{"line":88,"column":26}},"41":{"start":{"line":89,"column":8},"end":{"line":89,"column":65}},"42":{"start":{"line":90,"column":8},"end":{"line":90,"column":14}},"43":{"start":{"line":93,"column":8},"end":{"line":93,"column":59}},"44":{"start":{"line":104,"column":0},"end":{"line":141,"column":2}},"45":{"start":{"line":107,"column":2},"end":{"line":140,"column":5}},"46":{"start":{"line":108,"column":4},"end":{"line":108,"column":116}},"47":{"start":{"line":108,"column":13},"end":{"line":108,"column":116}},"48":{"start":{"line":113,"column":4},"end":{"line":123,"column":6}},"49":{"start":{"line":114,"column":6},"end":{"line":114,"column":30}},"50":{"start":{"line":114,"column":15},"end":{"line":114,"column":30}},"51":{"start":{"line":115,"column":6},"end":{"line":122,"column":9}},"52":{"start":{"line":116,"column":8},"end":{"line":116,"column":79}},"53":{"start":{"line":116,"column":18},"end":{"line":116,"column":79}},"54":{"start":{"line":120,"column":8},"end":{"line":120,"column":45}},"55":{"start":{"line":121,"column":8},"end":{"line":121,"column":95}},"56":{"start":{"line":126,"column":4},"end":{"line":139,"column":5}},"57":{"start":{"line":127,"column":6},"end":{"line":133,"column":7}},"58":{"start":{"line":129,"column":8},"end":{"line":129,"column":106}},"59":{"start":{"line":132,"column":8},"end":{"line":132,"column":96}},"60":{"start":{"line":138,"column":6},"end":{"line":138,"column":50}}},"branchMap":{"1":{"line":20,"type":"cond-expr","locations":[{"start":{"line":20,"column":22},"end":{"line":20,"column":33}},{"start":{"line":20,"column":36},"end":{"line":20,"column":38}}]},"2":{"line":22,"type":"if","locations":[{"start":{"line":22,"column":4},"end":{"line":22,"column":4}},{"start":{"line":22,"column":4},"end":{"line":22,"column":4}}]},"3":{"line":25,"type":"if","locations":[{"start":{"line":25,"column":6},"end":{"line":25,"column":6}},{"start":{"line":25,"column":6},"end":{"line":25,"column":6}}]},"4":{"line":39,"type":"if","locations":[{"start":{"line":39,"column":4},"end":{"line":39,"column":4}},{"start":{"line":39,"column":4},"end":{"line":39,"column":4}}]},"5":{"line":62,"type":"if","locations":[{"start":{"line":62,"column":4},"end":{"line":62,"column":4}},{"start":{"line":62,"column":4},"end":{"line":62,"column":4}}]},"6":{"line":67,"type":"if","locations":[{"start":{"line":67,"column":4},"end":{"line":67,"column":4}},{"start":{"line":67,"column":4},"end":{"line":67,"column":4}}]},"7":{"line":67,"type":"cond-expr","locations":[{"start":{"line":67,"column":59},"end":{"line":67,"column":70}},{"start":{"line":67,"column":73},"end":{"line":67,"column":77}}]},"8":{"line":77,"type":"switch","locations":[{"start":{"line":79,"column":6},"end":{"line":79,"column":15}},{"start":{"line":80,"column":6},"end":{"line":80,"column":15}},{"start":{"line":81,"column":6},"end":{"line":85,"column":14}},{"start":{"line":86,"column":6},"end":{"line":90,"column":14}},{"start":{"line":92,"column":6},"end":{"line":93,"column":59}}]},"9":{"line":108,"type":"if","locations":[{"start":{"line":108,"column":4},"end":{"line":108,"column":4}},{"start":{"line":108,"column":4},"end":{"line":108,"column":4}}]},"10":{"line":114,"type":"if","locations":[{"start":{"line":114,"column":6},"end":{"line":114,"column":6}},{"start":{"line":114,"column":6},"end":{"line":114,"column":6}}]},"11":{"line":116,"type":"if","locations":[{"start":{"line":116,"column":8},"end":{"line":116,"column":8}},{"start":{"line":116,"column":8},"end":{"line":116,"column":8}}]},"12":{"line":126,"type":"if","locations":[{"start":{"line":126,"column":4},"end":{"line":126,"column":4}},{"start":{"line":126,"column":4},"end":{"line":126,"column":4}}]},"13":{"line":127,"type":"if","locations":[{"start":{"line":127,"column":6},"end":{"line":127,"column":6}},{"start":{"line":127,"column":6},"end":{"line":127,"column":6}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/hooks/github.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/hooks/github.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0,0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0},"fnMap":{"1":{"name":"(anonymous_1)","line":11,"loc":{"start":{"line":11,"column":15},"end":{"line":11,"column":45}}},"2":{"name":"(anonymous_2)","line":21,"loc":{"start":{"line":21,"column":40},"end":{"line":21,"column":55}}},"3":{"name":"(anonymous_3)","line":22,"loc":{"start":{"line":22,"column":40},"end":{"line":22,"column":58}}},"4":{"name":"(anonymous_4)","line":39,"loc":{"start":{"line":39,"column":38},"end":{"line":39,"column":52}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":33}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":40}},"4":{"start":{"line":6,"column":0},"end":{"line":6,"column":44}},"5":{"start":{"line":11,"column":0},"end":{"line":54,"column":2}},"6":{"start":{"line":15,"column":2},"end":{"line":15,"column":22}},"7":{"start":{"line":18,"column":2},"end":{"line":18,"column":29}},"8":{"start":{"line":21,"column":2},"end":{"line":49,"column":5}},"9":{"start":{"line":22,"column":4},"end":{"line":48,"column":7}},"10":{"start":{"line":23,"column":6},"end":{"line":23,"column":65}},"11":{"start":{"line":25,"column":6},"end":{"line":45,"column":7}},"12":{"start":{"line":27,"column":8},"end":{"line":27,"column":31}},"13":{"start":{"line":28,"column":8},"end":{"line":28,"column":46}},"14":{"start":{"line":29,"column":8},"end":{"line":29,"column":75}},"15":{"start":{"line":32,"column":8},"end":{"line":44,"column":9}},"16":{"start":{"line":34,"column":10},"end":{"line":34,"column":46}},"17":{"start":{"line":37,"column":10},"end":{"line":37,"column":61}},"18":{"start":{"line":38,"column":10},"end":{"line":38,"column":98}},"19":{"start":{"line":38,"column":19},"end":{"line":38,"column":98}},"20":{"start":{"line":39,"column":10},"end":{"line":43,"column":13}},"21":{"start":{"line":40,"column":12},"end":{"line":40,"column":46}},"22":{"start":{"line":40,"column":21},"end":{"line":40,"column":46}},"23":{"start":{"line":42,"column":12},"end":{"line":42,"column":71}},"24":{"start":{"line":47,"column":6},"end":{"line":47,"column":21}},"25":{"start":{"line":51,"column":2},"end":{"line":51,"column":34}},"26":{"start":{"line":53,"column":2},"end":{"line":53,"column":95}}},"branchMap":{"1":{"line":22,"type":"binary-expr","locations":[{"start":{"line":22,"column":14},"end":{"line":22,"column":24}},{"start":{"line":22,"column":28},"end":{"line":22,"column":38}}]},"2":{"line":25,"type":"if","locations":[{"start":{"line":25,"column":6},"end":{"line":25,"column":6}},{"start":{"line":25,"column":6},"end":{"line":25,"column":6}}]},"3":{"line":25,"type":"binary-expr","locations":[{"start":{"line":25,"column":10},"end":{"line":25,"column":18}},{"start":{"line":25,"column":22},"end":{"line":25,"column":34}},{"start":{"line":25,"column":38},"end":{"line":25,"column":58}},{"start":{"line":25,"column":62},"end":{"line":25,"column":85}}]},"4":{"line":32,"type":"if","locations":[{"start":{"line":32,"column":8},"end":{"line":32,"column":8}},{"start":{"line":32,"column":8},"end":{"line":32,"column":8}}]},"5":{"line":38,"type":"if","locations":[{"start":{"line":38,"column":10},"end":{"line":38,"column":10}},{"start":{"line":38,"column":10},"end":{"line":38,"column":10}}]},"6":{"line":40,"type":"if","locations":[{"start":{"line":40,"column":12},"end":{"line":40,"column":12}},{"start":{"line":40,"column":12},"end":{"line":40,"column":12}}]},"7":{"line":51,"type":"binary-expr","locations":[{"start":{"line":51,"column":13},"end":{"line":51,"column":24}},{"start":{"line":51,"column":28},"end":{"line":51,"column":32}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/hooks/polling.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/hooks/polling.js","s":{"1":1,"2":1,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0},"b":{"1":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0},"fnMap":{"1":{"name":"(anonymous_1)","line":8,"loc":{"start":{"line":8,"column":15},"end":{"line":8,"column":45}}},"2":{"name":"(anonymous_2)","line":12,"loc":{"start":{"line":12,"column":29},"end":{"line":12,"column":42}}},"3":{"name":"(anonymous_3)","line":14,"loc":{"start":{"line":14,"column":16},"end":{"line":14,"column":27}}},"4":{"name":"(anonymous_4)","line":15,"loc":{"start":{"line":15,"column":31},"end":{"line":15,"column":45}}},"5":{"name":"(anonymous_5)","line":22,"loc":{"start":{"line":22,"column":39},"end":{"line":22,"column":56}}},"6":{"name":"(anonymous_6)","line":24,"loc":{"start":{"line":24,"column":15},"end":{"line":24,"column":26}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":44}},"2":{"start":{"line":8,"column":0},"end":{"line":32,"column":2}},"3":{"start":{"line":12,"column":2},"end":{"line":20,"column":4}},"4":{"start":{"line":13,"column":4},"end":{"line":13,"column":96}},"5":{"start":{"line":14,"column":4},"end":{"line":19,"column":36}},"6":{"start":{"line":15,"column":6},"end":{"line":18,"column":9}},"7":{"start":{"line":16,"column":8},"end":{"line":16,"column":36}},"8":{"start":{"line":16,"column":17},"end":{"line":16,"column":36}},"9":{"start":{"line":17,"column":8},"end":{"line":17,"column":74}},"10":{"start":{"line":22,"column":2},"end":{"line":29,"column":5}},"11":{"start":{"line":23,"column":4},"end":{"line":23,"column":50}},"12":{"start":{"line":24,"column":4},"end":{"line":28,"column":57}},"13":{"start":{"line":25,"column":6},"end":{"line":25,"column":31}},"14":{"start":{"line":31,"column":2},"end":{"line":31,"column":85}}},"branchMap":{"1":{"line":16,"type":"if","locations":[{"start":{"line":16,"column":8},"end":{"line":16,"column":8}},{"start":{"line":16,"column":8},"end":{"line":16,"column":8}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/hooks/stash.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/hooks/stash.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0,0],"6":[0,0],"7":[0,0],"8":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0},"fnMap":{"1":{"name":"(anonymous_1)","line":12,"loc":{"start":{"line":12,"column":15},"end":{"line":12,"column":45}}},"2":{"name":"(anonymous_2)","line":19,"loc":{"start":{"line":19,"column":10},"end":{"line":19,"column":21}}},"3":{"name":"(anonymous_3)","line":19,"loc":{"start":{"line":19,"column":29},"end":{"line":19,"column":54}}},"4":{"name":"(anonymous_4)","line":25,"loc":{"start":{"line":25,"column":40},"end":{"line":25,"column":55}}},"5":{"name":"(anonymous_5)","line":26,"loc":{"start":{"line":26,"column":40},"end":{"line":26,"column":58}}},"6":{"name":"(anonymous_6)","line":32,"loc":{"start":{"line":32,"column":36},"end":{"line":32,"column":56}}},"7":{"name":"(anonymous_7)","line":44,"loc":{"start":{"line":44,"column":49},"end":{"line":44,"column":63}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":44}},"3":{"start":{"line":5,"column":0},"end":{"line":5,"column":33}},"4":{"start":{"line":6,"column":0},"end":{"line":6,"column":40}},"5":{"start":{"line":12,"column":0},"end":{"line":60,"column":2}},"6":{"start":{"line":16,"column":2},"end":{"line":16,"column":22}},"7":{"start":{"line":19,"column":2},"end":{"line":19,"column":107}},"8":{"start":{"line":19,"column":22},"end":{"line":19,"column":102}},"9":{"start":{"line":19,"column":55},"end":{"line":19,"column":94}},"10":{"start":{"line":19,"column":94},"end":{"line":19,"column":101}},"11":{"start":{"line":22,"column":2},"end":{"line":22,"column":29}},"12":{"start":{"line":25,"column":2},"end":{"line":55,"column":5}},"13":{"start":{"line":26,"column":4},"end":{"line":54,"column":7}},"14":{"start":{"line":28,"column":6},"end":{"line":28,"column":64}},"15":{"start":{"line":30,"column":6},"end":{"line":51,"column":7}},"16":{"start":{"line":32,"column":8},"end":{"line":50,"column":11}},"17":{"start":{"line":34,"column":10},"end":{"line":34,"column":80}},"18":{"start":{"line":37,"column":10},"end":{"line":49,"column":11}},"19":{"start":{"line":39,"column":12},"end":{"line":39,"column":60}},"20":{"start":{"line":42,"column":12},"end":{"line":42,"column":63}},"21":{"start":{"line":43,"column":12},"end":{"line":43,"column":100}},"22":{"start":{"line":43,"column":21},"end":{"line":43,"column":100}},"23":{"start":{"line":44,"column":12},"end":{"line":48,"column":15}},"24":{"start":{"line":45,"column":14},"end":{"line":45,"column":48}},"25":{"start":{"line":45,"column":23},"end":{"line":45,"column":48}},"26":{"start":{"line":47,"column":14},"end":{"line":47,"column":73}},"27":{"start":{"line":53,"column":6},"end":{"line":53,"column":21}},"28":{"start":{"line":57,"column":2},"end":{"line":57,"column":34}},"29":{"start":{"line":59,"column":2},"end":{"line":59,"column":94}}},"branchMap":{"1":{"line":26,"type":"binary-expr","locations":[{"start":{"line":26,"column":14},"end":{"line":26,"column":24}},{"start":{"line":26,"column":28},"end":{"line":26,"column":38}}]},"2":{"line":30,"type":"if","locations":[{"start":{"line":30,"column":6},"end":{"line":30,"column":6}},{"start":{"line":30,"column":6},"end":{"line":30,"column":6}}]},"3":{"line":30,"type":"binary-expr","locations":[{"start":{"line":30,"column":10},"end":{"line":30,"column":18}},{"start":{"line":30,"column":22},"end":{"line":30,"column":41}}]},"4":{"line":37,"type":"if","locations":[{"start":{"line":37,"column":10},"end":{"line":37,"column":10}},{"start":{"line":37,"column":10},"end":{"line":37,"column":10}}]},"5":{"line":37,"type":"binary-expr","locations":[{"start":{"line":37,"column":14},"end":{"line":37,"column":29}},{"start":{"line":37,"column":34},"end":{"line":37,"column":78}},{"start":{"line":37,"column":83},"end":{"line":37,"column":99}}]},"6":{"line":43,"type":"if","locations":[{"start":{"line":43,"column":12},"end":{"line":43,"column":12}},{"start":{"line":43,"column":12},"end":{"line":43,"column":12}}]},"7":{"line":45,"type":"if","locations":[{"start":{"line":45,"column":14},"end":{"line":45,"column":14}},{"start":{"line":45,"column":14},"end":{"line":45,"column":14}}]},"8":{"line":57,"type":"binary-expr","locations":[{"start":{"line":57,"column":13},"end":{"line":57,"column":24}},{"start":{"line":57,"column":28},"end":{"line":57,"column":32}}]}}}} | ||
{"/Users/wrb/vistaprint/code/git_to_consul/lib/utils/logging.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/utils/logging.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0},"b":{"1":[1,0],"2":[0,0],"3":[0,0]},"f":{"1":1,"2":0},"fnMap":{"1":{"name":"(anonymous_1)","line":11,"loc":{"start":{"line":11,"column":22},"end":{"line":11,"column":39}}},"2":{"name":"(anonymous_2)","line":19,"loc":{"start":{"line":19,"column":32},"end":{"line":19,"column":49}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":31}},"3":{"start":{"line":5,"column":0},"end":{"line":5,"column":50}},"4":{"start":{"line":8,"column":0},"end":{"line":8,"column":59}},"5":{"start":{"line":11,"column":0},"end":{"line":25,"column":2}},"6":{"start":{"line":15,"column":2},"end":{"line":15,"column":29}},"7":{"start":{"line":15,"column":22},"end":{"line":15,"column":29}},"8":{"start":{"line":17,"column":2},"end":{"line":19,"column":2}},"9":{"start":{"line":19,"column":2},"end":{"line":22,"column":5}},"10":{"start":{"line":20,"column":4},"end":{"line":21,"column":80}},"11":{"start":{"line":20,"column":44},"end":{"line":20,"column":75}},"12":{"start":{"line":21,"column":9},"end":{"line":21,"column":80}},"13":{"start":{"line":21,"column":49},"end":{"line":21,"column":80}},"14":{"start":{"line":24,"column":2},"end":{"line":24,"column":54}}},"branchMap":{"1":{"line":15,"type":"if","locations":[{"start":{"line":15,"column":2},"end":{"line":15,"column":2}},{"start":{"line":15,"column":2},"end":{"line":15,"column":2}}]},"2":{"line":20,"type":"if","locations":[{"start":{"line":20,"column":4},"end":{"line":20,"column":4}},{"start":{"line":20,"column":4},"end":{"line":20,"column":4}}]},"3":{"line":21,"type":"if","locations":[{"start":{"line":21,"column":9},"end":{"line":21,"column":9}},{"start":{"line":21,"column":9},"end":{"line":21,"column":9}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/utils/config_reader.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/utils/config_reader.js","s":{"1":1,"2":1,"3":1,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0},"b":{"1":[0,0],"2":[0,0]},"f":{"1":0,"2":0},"fnMap":{"1":{"name":"(anonymous_1)","line":9,"loc":{"start":{"line":9,"column":15},"end":{"line":9,"column":34}},"skip":true},"2":{"name":"(anonymous_2)","line":15,"loc":{"start":{"line":15,"column":22},"end":{"line":15,"column":43}},"skip":true}},"statementMap":{"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":36}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":26}},"3":{"start":{"line":9,"column":0},"end":{"line":26,"column":2},"skip":true},"4":{"start":{"line":10,"column":2},"end":{"line":13,"column":3},"skip":true},"5":{"start":{"line":11,"column":4},"end":{"line":11,"column":14},"skip":true},"6":{"start":{"line":12,"column":4},"end":{"line":12,"column":32},"skip":true},"7":{"start":{"line":15,"column":2},"end":{"line":25,"column":5},"skip":true},"8":{"start":{"line":16,"column":4},"end":{"line":16,"column":28},"skip":true},"9":{"start":{"line":16,"column":13},"end":{"line":16,"column":28},"skip":true},"10":{"start":{"line":18,"column":4},"end":{"line":22,"column":5},"skip":true},"11":{"start":{"line":19,"column":6},"end":{"line":19,"column":46},"skip":true},"12":{"start":{"line":21,"column":6},"end":{"line":21,"column":85},"skip":true},"13":{"start":{"line":23,"column":4},"end":{"line":23,"column":21},"skip":true}},"branchMap":{"1":{"line":10,"type":"if","locations":[{"start":{"line":10,"column":2},"end":{"line":10,"column":2},"skip":true},{"start":{"line":10,"column":2},"end":{"line":10,"column":2},"skip":true}]},"2":{"line":16,"type":"if","locations":[{"start":{"line":16,"column":4},"end":{"line":16,"column":4},"skip":true},{"start":{"line":16,"column":4},"end":{"line":16,"column":4},"skip":true}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/utils/git_commands.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/utils/git_commands.js","s":{"1":1,"2":1,"3":1,"4":139,"5":139,"6":139,"7":103,"8":139,"9":1,"10":138,"11":1,"12":14,"13":1,"14":23,"15":1,"16":1,"17":1,"18":1,"19":1,"20":25,"21":1,"22":12,"23":1,"24":11,"25":1,"26":8,"27":8,"28":0,"29":8,"30":8,"31":8,"32":11,"33":11,"34":8,"35":1,"36":11,"37":11,"38":0,"39":11,"40":11,"41":11,"42":12,"43":11,"44":1,"45":33},"b":{"1":[103,36],"2":[1,138],"3":[0,8],"4":[0,11]},"f":{"1":139,"2":139,"3":14,"4":23,"5":1,"6":1,"7":25,"8":12,"9":11,"10":8,"11":8,"12":11,"13":11,"14":11,"15":12,"16":33},"fnMap":{"1":{"name":"(anonymous_1)","line":10,"loc":{"start":{"line":10,"column":18},"end":{"line":10,"column":41}}},"2":{"name":"(anonymous_2)","line":12,"loc":{"start":{"line":12,"column":36},"end":{"line":12,"column":66}}},"3":{"name":"(anonymous_3)","line":21,"loc":{"start":{"line":21,"column":15},"end":{"line":21,"column":33}}},"4":{"name":"(anonymous_4)","line":25,"loc":{"start":{"line":25,"column":14},"end":{"line":25,"column":42}}},"5":{"name":"(anonymous_5)","line":29,"loc":{"start":{"line":29,"column":13},"end":{"line":29,"column":51}}},"6":{"name":"(anonymous_6)","line":33,"loc":{"start":{"line":33,"column":17},"end":{"line":33,"column":45}}},"7":{"name":"(anonymous_7)","line":37,"loc":{"start":{"line":37,"column":17},"end":{"line":37,"column":44}}},"8":{"name":"(anonymous_8)","line":41,"loc":{"start":{"line":41,"column":16},"end":{"line":41,"column":68}}},"9":{"name":"(anonymous_9)","line":45,"loc":{"start":{"line":45,"column":15},"end":{"line":45,"column":33}}},"10":{"name":"(anonymous_10)","line":49,"loc":{"start":{"line":49,"column":27},"end":{"line":49,"column":63}}},"11":{"name":"(anonymous_11)","line":50,"loc":{"start":{"line":50,"column":72},"end":{"line":50,"column":94}}},"12":{"name":"(anonymous_12)","line":55,"loc":{"start":{"line":55,"column":18},"end":{"line":55,"column":33}}},"13":{"name":"(anonymous_13)","line":64,"loc":{"start":{"line":64,"column":23},"end":{"line":64,"column":41}}},"14":{"name":"(anonymous_14)","line":65,"loc":{"start":{"line":65,"column":56},"end":{"line":65,"column":78}}},"15":{"name":"(anonymous_15)","line":70,"loc":{"start":{"line":70,"column":18},"end":{"line":70,"column":33}}},"16":{"name":"(anonymous_16)","line":78,"loc":{"start":{"line":78,"column":24},"end":{"line":78,"column":42}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":41}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":37}},"3":{"start":{"line":10,"column":0},"end":{"line":19,"column":2}},"4":{"start":{"line":11,"column":2},"end":{"line":11,"column":45}},"5":{"start":{"line":12,"column":2},"end":{"line":18,"column":5}},"6":{"start":{"line":13,"column":4},"end":{"line":13,"column":39}},"7":{"start":{"line":13,"column":16},"end":{"line":13,"column":39}},"8":{"start":{"line":15,"column":4},"end":{"line":15,"column":54}},"9":{"start":{"line":15,"column":13},"end":{"line":15,"column":54}},"10":{"start":{"line":17,"column":4},"end":{"line":17,"column":21}},"11":{"start":{"line":21,"column":0},"end":{"line":23,"column":2}},"12":{"start":{"line":22,"column":2},"end":{"line":22,"column":35}},"13":{"start":{"line":25,"column":0},"end":{"line":27,"column":2}},"14":{"start":{"line":26,"column":2},"end":{"line":26,"column":46}},"15":{"start":{"line":29,"column":0},"end":{"line":31,"column":2}},"16":{"start":{"line":30,"column":2},"end":{"line":30,"column":62}},"17":{"start":{"line":33,"column":0},"end":{"line":35,"column":2}},"18":{"start":{"line":34,"column":2},"end":{"line":34,"column":45}},"19":{"start":{"line":37,"column":0},"end":{"line":39,"column":2}},"20":{"start":{"line":38,"column":2},"end":{"line":38,"column":58}},"21":{"start":{"line":41,"column":0},"end":{"line":43,"column":2}},"22":{"start":{"line":42,"column":2},"end":{"line":42,"column":89}},"23":{"start":{"line":45,"column":0},"end":{"line":47,"column":2}},"24":{"start":{"line":46,"column":2},"end":{"line":46,"column":35}},"25":{"start":{"line":49,"column":0},"end":{"line":62,"column":2}},"26":{"start":{"line":50,"column":2},"end":{"line":61,"column":5}},"27":{"start":{"line":51,"column":4},"end":{"line":51,"column":28}},"28":{"start":{"line":51,"column":13},"end":{"line":51,"column":28}},"29":{"start":{"line":53,"column":4},"end":{"line":53,"column":21}},"30":{"start":{"line":54,"column":4},"end":{"line":54,"column":35}},"31":{"start":{"line":55,"column":4},"end":{"line":58,"column":7}},"32":{"start":{"line":56,"column":6},"end":{"line":56,"column":37}},"33":{"start":{"line":57,"column":6},"end":{"line":57,"column":59}},"34":{"start":{"line":60,"column":4},"end":{"line":60,"column":22}},"35":{"start":{"line":64,"column":0},"end":{"line":76,"column":2}},"36":{"start":{"line":65,"column":2},"end":{"line":75,"column":5}},"37":{"start":{"line":66,"column":4},"end":{"line":66,"column":28}},"38":{"start":{"line":66,"column":13},"end":{"line":66,"column":28}},"39":{"start":{"line":68,"column":4},"end":{"line":68,"column":21}},"40":{"start":{"line":69,"column":4},"end":{"line":69,"column":35}},"41":{"start":{"line":70,"column":4},"end":{"line":72,"column":7}},"42":{"start":{"line":71,"column":6},"end":{"line":71,"column":48}},"43":{"start":{"line":74,"column":4},"end":{"line":74,"column":22}},"44":{"start":{"line":78,"column":0},"end":{"line":80,"column":2}},"45":{"start":{"line":79,"column":2},"end":{"line":79,"column":60}}},"branchMap":{"1":{"line":13,"type":"if","locations":[{"start":{"line":13,"column":4},"end":{"line":13,"column":4}},{"start":{"line":13,"column":4},"end":{"line":13,"column":4}}]},"2":{"line":15,"type":"if","locations":[{"start":{"line":15,"column":4},"end":{"line":15,"column":4}},{"start":{"line":15,"column":4},"end":{"line":15,"column":4}}]},"3":{"line":51,"type":"if","locations":[{"start":{"line":51,"column":4},"end":{"line":51,"column":4}},{"start":{"line":51,"column":4},"end":{"line":51,"column":4}}]},"4":{"line":66,"type":"if","locations":[{"start":{"line":66,"column":4},"end":{"line":66,"column":4}},{"start":{"line":66,"column":4},"end":{"line":66,"column":4}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/git_manager.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/git_manager.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":15,"10":1,"11":15,"12":15,"13":15,"14":1,"15":14,"16":14,"17":1,"18":13,"19":13,"20":13,"21":1,"22":12,"23":12,"24":12,"25":12,"26":12,"27":12,"28":1,"29":1,"30":1,"31":1,"32":1,"33":0,"34":1,"35":1,"36":11,"37":14,"38":0,"39":14,"40":0,"41":14,"42":8,"43":1,"44":4,"45":3,"46":1,"47":1,"48":1,"49":1,"50":2,"51":2,"52":0,"53":2,"54":0,"55":2,"56":2,"57":2,"58":1},"b":{"1":[1,14],"2":[15,14],"3":[1,13],"4":[1,12],"5":[12,0],"6":[1,11],"7":[1,0],"8":[1,0],"9":[3,1],"10":[4,3,1],"11":[0,2],"12":[0,2],"13":[1,1],"14":[1,0]},"f":{"1":15,"2":15,"3":14,"4":13,"5":13,"6":1,"7":0,"8":0,"9":8,"10":4,"11":2,"12":2},"fnMap":{"1":{"name":"(anonymous_1)","line":19,"loc":{"start":{"line":19,"column":27},"end":{"line":19,"column":48}}},"2":{"name":"GitManager","line":23,"loc":{"start":{"line":23,"column":2},"end":{"line":23,"column":24}}},"3":{"name":"(anonymous_3)","line":31,"loc":{"start":{"line":31,"column":29},"end":{"line":31,"column":43}}},"4":{"name":"(anonymous_4)","line":35,"loc":{"start":{"line":35,"column":28},"end":{"line":35,"column":45}}},"5":{"name":"(anonymous_5)","line":36,"loc":{"start":{"line":36,"column":57},"end":{"line":36,"column":75}}},"6":{"name":"(anonymous_6)","line":53,"loc":{"start":{"line":53,"column":33},"end":{"line":53,"column":48}}},"7":{"name":"(anonymous_7)","line":71,"loc":{"start":{"line":71,"column":37},"end":{"line":71,"column":48}}},"8":{"name":"(anonymous_8)","line":75,"loc":{"start":{"line":75,"column":40},"end":{"line":75,"column":51}}},"9":{"name":"(anonymous_9)","line":79,"loc":{"start":{"line":79,"column":42},"end":{"line":79,"column":64}}},"10":{"name":"(anonymous_10)","line":91,"loc":{"start":{"line":91,"column":28},"end":{"line":91,"column":48}}},"11":{"name":"(anonymous_11)","line":99,"loc":{"start":{"line":99,"column":16},"end":{"line":99,"column":38}}},"12":{"name":"(anonymous_12)","line":100,"loc":{"start":{"line":100,"column":42},"end":{"line":100,"column":69}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":27}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":31}},"4":{"start":{"line":4,"column":0},"end":{"line":4,"column":27}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":43}},"6":{"start":{"line":8,"column":0},"end":{"line":8,"column":52}},"7":{"start":{"line":10,"column":0},"end":{"line":14,"column":2}},"8":{"start":{"line":19,"column":0},"end":{"line":83,"column":2}},"9":{"start":{"line":21,"column":2},"end":{"line":21,"column":27}},"10":{"start":{"line":23,"column":2},"end":{"line":23,"column":26}},"11":{"start":{"line":25,"column":2},"end":{"line":25,"column":34}},"12":{"start":{"line":26,"column":2},"end":{"line":26,"column":23}},"13":{"start":{"line":28,"column":2},"end":{"line":28,"column":91}},"14":{"start":{"line":28,"column":56},"end":{"line":28,"column":91}},"15":{"start":{"line":31,"column":2},"end":{"line":69,"column":5}},"16":{"start":{"line":33,"column":4},"end":{"line":33,"column":82}},"17":{"start":{"line":33,"column":13},"end":{"line":33,"column":82}},"18":{"start":{"line":35,"column":4},"end":{"line":68,"column":7}},"19":{"start":{"line":36,"column":6},"end":{"line":67,"column":9}},"20":{"start":{"line":37,"column":8},"end":{"line":37,"column":89}},"21":{"start":{"line":37,"column":17},"end":{"line":37,"column":89}},"22":{"start":{"line":39,"column":8},"end":{"line":39,"column":23}},"23":{"start":{"line":42,"column":8},"end":{"line":42,"column":73}},"24":{"start":{"line":43,"column":8},"end":{"line":43,"column":49}},"25":{"start":{"line":45,"column":8},"end":{"line":66,"column":9}},"26":{"start":{"line":47,"column":10},"end":{"line":47,"column":54}},"27":{"start":{"line":49,"column":10},"end":{"line":63,"column":11}},"28":{"start":{"line":51,"column":12},"end":{"line":51,"column":26}},"29":{"start":{"line":53,"column":12},"end":{"line":60,"column":15}},"30":{"start":{"line":54,"column":14},"end":{"line":54,"column":60}},"31":{"start":{"line":55,"column":14},"end":{"line":57,"column":15}},"32":{"start":{"line":56,"column":16},"end":{"line":56,"column":67}},"33":{"start":{"line":59,"column":14},"end":{"line":59,"column":49}},"34":{"start":{"line":62,"column":12},"end":{"line":62,"column":49}},"35":{"start":{"line":62,"column":33},"end":{"line":62,"column":49}},"36":{"start":{"line":65,"column":10},"end":{"line":65,"column":29}},"37":{"start":{"line":71,"column":2},"end":{"line":73,"column":4}},"38":{"start":{"line":72,"column":4},"end":{"line":72,"column":23}},"39":{"start":{"line":75,"column":2},"end":{"line":77,"column":4}},"40":{"start":{"line":76,"column":4},"end":{"line":76,"column":27}},"41":{"start":{"line":79,"column":2},"end":{"line":81,"column":4}},"42":{"start":{"line":80,"column":4},"end":{"line":80,"column":40}},"43":{"start":{"line":91,"column":0},"end":{"line":112,"column":2}},"44":{"start":{"line":93,"column":2},"end":{"line":93,"column":101}},"45":{"start":{"line":93,"column":54},"end":{"line":93,"column":101}},"46":{"start":{"line":95,"column":2},"end":{"line":95,"column":42}},"47":{"start":{"line":96,"column":2},"end":{"line":96,"column":18}},"48":{"start":{"line":97,"column":2},"end":{"line":97,"column":24}},"49":{"start":{"line":99,"column":2},"end":{"line":111,"column":5}},"50":{"start":{"line":100,"column":4},"end":{"line":110,"column":7}},"51":{"start":{"line":101,"column":6},"end":{"line":101,"column":49}},"52":{"start":{"line":101,"column":15},"end":{"line":101,"column":49}},"53":{"start":{"line":103,"column":6},"end":{"line":104,"column":42}},"54":{"start":{"line":103,"column":15},"end":{"line":103,"column":32}},"55":{"start":{"line":104,"column":11},"end":{"line":104,"column":42}},"56":{"start":{"line":106,"column":6},"end":{"line":106,"column":29}},"57":{"start":{"line":107,"column":6},"end":{"line":109,"column":7}},"58":{"start":{"line":108,"column":8},"end":{"line":108,"column":69}}},"branchMap":{"1":{"line":28,"type":"if","locations":[{"start":{"line":28,"column":2},"end":{"line":28,"column":2}},{"start":{"line":28,"column":2},"end":{"line":28,"column":2}}]},"2":{"line":28,"type":"binary-expr","locations":[{"start":{"line":28,"column":6},"end":{"line":28,"column":22}},{"start":{"line":28,"column":26},"end":{"line":28,"column":54}}]},"3":{"line":33,"type":"if","locations":[{"start":{"line":33,"column":4},"end":{"line":33,"column":4}},{"start":{"line":33,"column":4},"end":{"line":33,"column":4}}]},"4":{"line":37,"type":"if","locations":[{"start":{"line":37,"column":8},"end":{"line":37,"column":8}},{"start":{"line":37,"column":8},"end":{"line":37,"column":8}}]},"5":{"line":45,"type":"if","locations":[{"start":{"line":45,"column":8},"end":{"line":45,"column":8}},{"start":{"line":45,"column":8},"end":{"line":45,"column":8}}]},"6":{"line":49,"type":"if","locations":[{"start":{"line":49,"column":10},"end":{"line":49,"column":10}},{"start":{"line":49,"column":10},"end":{"line":49,"column":10}}]},"7":{"line":55,"type":"if","locations":[{"start":{"line":55,"column":14},"end":{"line":55,"column":14}},{"start":{"line":55,"column":14},"end":{"line":55,"column":14}}]},"8":{"line":62,"type":"if","locations":[{"start":{"line":62,"column":12},"end":{"line":62,"column":12}},{"start":{"line":62,"column":12},"end":{"line":62,"column":12}}]},"9":{"line":93,"type":"if","locations":[{"start":{"line":93,"column":2},"end":{"line":93,"column":2}},{"start":{"line":93,"column":2},"end":{"line":93,"column":2}}]},"10":{"line":93,"type":"binary-expr","locations":[{"start":{"line":93,"column":6},"end":{"line":93,"column":12}},{"start":{"line":93,"column":16},"end":{"line":93,"column":29}},{"start":{"line":93,"column":33},"end":{"line":93,"column":52}}]},"11":{"line":101,"type":"if","locations":[{"start":{"line":101,"column":6},"end":{"line":101,"column":6}},{"start":{"line":101,"column":6},"end":{"line":101,"column":6}}]},"12":{"line":103,"type":"if","locations":[{"start":{"line":103,"column":6},"end":{"line":103,"column":6}},{"start":{"line":103,"column":6},"end":{"line":103,"column":6}}]},"13":{"line":107,"type":"if","locations":[{"start":{"line":107,"column":6},"end":{"line":107,"column":6}},{"start":{"line":107,"column":6},"end":{"line":107,"column":6}}]},"14":{"line":108,"type":"cond-expr","locations":[{"start":{"line":108,"column":40},"end":{"line":108,"column":44}},{"start":{"line":108,"column":47},"end":{"line":108,"column":53}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/branch_manager.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/branch_manager.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":13,"9":13,"10":13,"11":13,"12":13,"13":13,"14":1,"15":13,"16":12,"17":12,"18":1,"19":11,"20":13,"21":11,"22":11,"23":11,"24":0,"25":11,"26":13,"27":8,"28":13,"29":11,"30":13,"31":23,"32":13,"33":23,"34":13,"35":69,"36":13,"37":21,"38":13,"39":41,"40":13,"41":20,"42":13,"43":10,"44":10,"45":10,"46":10,"47":10,"48":10,"49":2,"50":2,"51":2,"52":2,"53":10,"54":13,"55":12,"56":2,"57":2,"58":2,"59":10,"60":13,"61":13,"62":13,"63":1,"64":1,"65":0,"66":1,"67":1,"68":1,"69":0,"70":1,"71":1,"72":12,"73":12,"74":0,"75":12,"76":12,"77":1,"78":11,"79":11},"b":{"1":[1,11],"2":[0,11],"3":[2,8],"4":[2,10],"5":[1,12],"6":[0,1],"7":[0,1],"8":[0,12],"9":[1,11]},"f":{"1":13,"2":13,"3":12,"4":12,"5":11,"6":11,"7":8,"8":11,"9":23,"10":23,"11":69,"12":21,"13":41,"14":20,"15":10,"16":10,"17":2,"18":2,"19":12,"20":13,"21":1,"22":1,"23":12,"24":12},"fnMap":{"1":{"name":"(anonymous_1)","line":10,"loc":{"start":{"line":10,"column":30},"end":{"line":10,"column":86}}},"2":{"name":"BranchManager","line":25,"loc":{"start":{"line":25,"column":2},"end":{"line":25,"column":27}}},"3":{"name":"(anonymous_3)","line":30,"loc":{"start":{"line":30,"column":14},"end":{"line":30,"column":31}}},"4":{"name":"(anonymous_4)","line":31,"loc":{"start":{"line":31,"column":81},"end":{"line":31,"column":103}}},"5":{"name":"(anonymous_5)","line":41,"loc":{"start":{"line":41,"column":33},"end":{"line":41,"column":46}}},"6":{"name":"(anonymous_6)","line":43,"loc":{"start":{"line":43,"column":40},"end":{"line":43,"column":62}}},"7":{"name":"(anonymous_7)","line":49,"loc":{"start":{"line":49,"column":45},"end":{"line":49,"column":76}}},"8":{"name":"(anonymous_8)","line":53,"loc":{"start":{"line":53,"column":41},"end":{"line":53,"column":54}}},"9":{"name":"(anonymous_9)","line":57,"loc":{"start":{"line":57,"column":42},"end":{"line":57,"column":55}}},"10":{"name":"(anonymous_10)","line":61,"loc":{"start":{"line":61,"column":40},"end":{"line":61,"column":51}}},"11":{"name":"(anonymous_11)","line":65,"loc":{"start":{"line":65,"column":42},"end":{"line":65,"column":53}}},"12":{"name":"(anonymous_12)","line":69,"loc":{"start":{"line":69,"column":47},"end":{"line":69,"column":58}}},"13":{"name":"(anonymous_13)","line":73,"loc":{"start":{"line":73,"column":45},"end":{"line":73,"column":56}}},"14":{"name":"(anonymous_14)","line":77,"loc":{"start":{"line":77,"column":45},"end":{"line":77,"column":59}}},"15":{"name":"(anonymous_15)","line":86,"loc":{"start":{"line":86,"column":22},"end":{"line":86,"column":39}}},"16":{"name":"(anonymous_16)","line":91,"loc":{"start":{"line":91,"column":11},"end":{"line":91,"column":33}}},"17":{"name":"(anonymous_17)","line":102,"loc":{"start":{"line":102,"column":47},"end":{"line":102,"column":61}}},"18":{"name":"(anonymous_18)","line":103,"loc":{"start":{"line":103,"column":39},"end":{"line":103,"column":66}}},"19":{"name":"(anonymous_19)","line":117,"loc":{"start":{"line":117,"column":44},"end":{"line":117,"column":69}}},"20":{"name":"(anonymous_20)","line":133,"loc":{"start":{"line":133,"column":25},"end":{"line":133,"column":45}}},"21":{"name":"(anonymous_21)","line":136,"loc":{"start":{"line":136,"column":30},"end":{"line":136,"column":49}}},"22":{"name":"(anonymous_22)","line":143,"loc":{"start":{"line":143,"column":16},"end":{"line":143,"column":35}}},"23":{"name":"(anonymous_23)","line":152,"loc":{"start":{"line":152,"column":26},"end":{"line":152,"column":40}}},"24":{"name":"(anonymous_24)","line":156,"loc":{"start":{"line":156,"column":16},"end":{"line":156,"column":35}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":27}},"3":{"start":{"line":3,"column":0},"end":{"line":3,"column":31}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":43}},"5":{"start":{"line":7,"column":0},"end":{"line":7,"column":50}},"6":{"start":{"line":8,"column":0},"end":{"line":8,"column":54}},"7":{"start":{"line":10,"column":0},"end":{"line":163,"column":2}},"8":{"start":{"line":12,"column":2},"end":{"line":12,"column":66}},"9":{"start":{"line":13,"column":2},"end":{"line":13,"column":69}},"10":{"start":{"line":15,"column":2},"end":{"line":15,"column":33}},"11":{"start":{"line":16,"column":2},"end":{"line":16,"column":37}},"12":{"start":{"line":17,"column":2},"end":{"line":17,"column":29}},"13":{"start":{"line":19,"column":2},"end":{"line":19,"column":34}},"14":{"start":{"line":25,"column":2},"end":{"line":25,"column":29}},"15":{"start":{"line":30,"column":2},"end":{"line":35,"column":4}},"16":{"start":{"line":31,"column":4},"end":{"line":34,"column":7}},"17":{"start":{"line":32,"column":6},"end":{"line":32,"column":30}},"18":{"start":{"line":32,"column":15},"end":{"line":32,"column":30}},"19":{"start":{"line":33,"column":6},"end":{"line":33,"column":44}},"20":{"start":{"line":41,"column":2},"end":{"line":47,"column":4}},"21":{"start":{"line":42,"column":4},"end":{"line":42,"column":24}},"22":{"start":{"line":43,"column":4},"end":{"line":46,"column":7}},"23":{"start":{"line":44,"column":6},"end":{"line":44,"column":30}},"24":{"start":{"line":44,"column":15},"end":{"line":44,"column":30}},"25":{"start":{"line":45,"column":6},"end":{"line":45,"column":50}},"26":{"start":{"line":49,"column":2},"end":{"line":51,"column":4}},"27":{"start":{"line":50,"column":4},"end":{"line":50,"column":74}},"28":{"start":{"line":53,"column":2},"end":{"line":55,"column":4}},"29":{"start":{"line":54,"column":4},"end":{"line":54,"column":52}},"30":{"start":{"line":57,"column":2},"end":{"line":59,"column":4}},"31":{"start":{"line":58,"column":4},"end":{"line":58,"column":53}},"32":{"start":{"line":61,"column":2},"end":{"line":63,"column":4}},"33":{"start":{"line":62,"column":4},"end":{"line":62,"column":28}},"34":{"start":{"line":65,"column":2},"end":{"line":67,"column":4}},"35":{"start":{"line":66,"column":4},"end":{"line":66,"column":18}},"36":{"start":{"line":69,"column":2},"end":{"line":71,"column":4}},"37":{"start":{"line":70,"column":4},"end":{"line":70,"column":28}},"38":{"start":{"line":73,"column":2},"end":{"line":75,"column":4}},"39":{"start":{"line":74,"column":4},"end":{"line":74,"column":27}},"40":{"start":{"line":77,"column":2},"end":{"line":79,"column":4}},"41":{"start":{"line":78,"column":4},"end":{"line":78,"column":26}},"42":{"start":{"line":86,"column":2},"end":{"line":115,"column":4}},"43":{"start":{"line":89,"column":4},"end":{"line":89,"column":30}},"44":{"start":{"line":91,"column":4},"end":{"line":114,"column":6}},"45":{"start":{"line":93,"column":6},"end":{"line":93,"column":33}},"46":{"start":{"line":96,"column":6},"end":{"line":96,"column":51}},"47":{"start":{"line":97,"column":6},"end":{"line":101,"column":6}},"48":{"start":{"line":101,"column":6},"end":{"line":110,"column":7}},"49":{"start":{"line":102,"column":8},"end":{"line":106,"column":11}},"50":{"start":{"line":103,"column":10},"end":{"line":105,"column":13}},"51":{"start":{"line":104,"column":12},"end":{"line":104,"column":34}},"52":{"start":{"line":109,"column":8},"end":{"line":109,"column":39}},"53":{"start":{"line":113,"column":6},"end":{"line":113,"column":22}},"54":{"start":{"line":117,"column":2},"end":{"line":127,"column":4}},"55":{"start":{"line":120,"column":4},"end":{"line":124,"column":5}},"56":{"start":{"line":121,"column":6},"end":{"line":121,"column":38}},"57":{"start":{"line":122,"column":6},"end":{"line":122,"column":33}},"58":{"start":{"line":123,"column":6},"end":{"line":123,"column":13}},"59":{"start":{"line":126,"column":4},"end":{"line":126,"column":39}},"60":{"start":{"line":130,"column":2},"end":{"line":130,"column":31}},"61":{"start":{"line":133,"column":2},"end":{"line":162,"column":5}},"62":{"start":{"line":134,"column":4},"end":{"line":149,"column":5}},"63":{"start":{"line":136,"column":6},"end":{"line":148,"column":9}},"64":{"start":{"line":137,"column":8},"end":{"line":137,"column":54}},"65":{"start":{"line":137,"column":17},"end":{"line":137,"column":54}},"66":{"start":{"line":141,"column":8},"end":{"line":141,"column":33}},"67":{"start":{"line":143,"column":8},"end":{"line":147,"column":11}},"68":{"start":{"line":144,"column":10},"end":{"line":144,"column":56}},"69":{"start":{"line":144,"column":19},"end":{"line":144,"column":56}},"70":{"start":{"line":145,"column":10},"end":{"line":145,"column":61}},"71":{"start":{"line":146,"column":10},"end":{"line":146,"column":45}},"72":{"start":{"line":152,"column":4},"end":{"line":161,"column":7}},"73":{"start":{"line":153,"column":6},"end":{"line":153,"column":52}},"74":{"start":{"line":153,"column":15},"end":{"line":153,"column":52}},"75":{"start":{"line":156,"column":6},"end":{"line":160,"column":9}},"76":{"start":{"line":157,"column":8},"end":{"line":157,"column":54}},"77":{"start":{"line":157,"column":17},"end":{"line":157,"column":54}},"78":{"start":{"line":158,"column":8},"end":{"line":158,"column":59}},"79":{"start":{"line":159,"column":8},"end":{"line":159,"column":43}}},"branchMap":{"1":{"line":32,"type":"if","locations":[{"start":{"line":32,"column":6},"end":{"line":32,"column":6}},{"start":{"line":32,"column":6},"end":{"line":32,"column":6}}]},"2":{"line":44,"type":"if","locations":[{"start":{"line":44,"column":6},"end":{"line":44,"column":6}},{"start":{"line":44,"column":6},"end":{"line":44,"column":6}}]},"3":{"line":101,"type":"if","locations":[{"start":{"line":101,"column":6},"end":{"line":101,"column":6}},{"start":{"line":101,"column":6},"end":{"line":101,"column":6}}]},"4":{"line":120,"type":"if","locations":[{"start":{"line":120,"column":4},"end":{"line":120,"column":4}},{"start":{"line":120,"column":4},"end":{"line":120,"column":4}}]},"5":{"line":134,"type":"if","locations":[{"start":{"line":134,"column":4},"end":{"line":134,"column":4}},{"start":{"line":134,"column":4},"end":{"line":134,"column":4}}]},"6":{"line":137,"type":"if","locations":[{"start":{"line":137,"column":8},"end":{"line":137,"column":8}},{"start":{"line":137,"column":8},"end":{"line":137,"column":8}}]},"7":{"line":144,"type":"if","locations":[{"start":{"line":144,"column":10},"end":{"line":144,"column":10}},{"start":{"line":144,"column":10},"end":{"line":144,"column":10}}]},"8":{"line":153,"type":"if","locations":[{"start":{"line":153,"column":6},"end":{"line":153,"column":6}},{"start":{"line":153,"column":6},"end":{"line":153,"column":6}}]},"9":{"line":157,"type":"if","locations":[{"start":{"line":157,"column":8},"end":{"line":157,"column":8}},{"start":{"line":157,"column":8},"end":{"line":157,"column":8}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/consul_broker.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/consul_broker.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":21,"8":21,"9":21,"10":21,"11":21,"12":0,"13":21,"14":21,"15":21,"16":0,"17":21,"18":1,"19":2,"20":2,"21":2,"22":2,"23":0,"24":2,"25":1,"26":19,"27":19,"28":19,"29":23,"30":0,"31":23,"32":23,"33":19,"34":19,"35":23,"36":23,"37":21,"38":21,"39":21,"40":2,"41":2,"42":2,"43":0,"44":1,"45":22,"46":22,"47":0,"48":22,"49":19,"50":0,"51":19,"52":19,"53":0,"54":19,"55":19,"56":22,"57":11,"58":3,"59":8,"60":11},"b":{"1":[21,0],"2":[0,21],"3":[0,21],"4":[0,2],"5":[0,23],"6":[19,4],"7":[0,19],"8":[15,21,21,2,0],"9":[0,22],"10":[0,19],"11":[0,19],"12":[11,11],"13":[3,8]},"f":{"1":21,"2":21,"3":21,"4":2,"5":2,"6":19,"7":23,"8":23,"9":22,"10":22,"11":19,"12":19},"fnMap":{"1":{"name":"(anonymous_1)","line":12,"loc":{"start":{"line":12,"column":20},"end":{"line":12,"column":55}}},"2":{"name":"(anonymous_2)","line":16,"loc":{"start":{"line":16,"column":38},"end":{"line":16,"column":58}}},"3":{"name":"(anonymous_3)","line":24,"loc":{"start":{"line":24,"column":34},"end":{"line":24,"column":48}}},"4":{"name":"(anonymous_4)","line":34,"loc":{"start":{"line":34,"column":19},"end":{"line":34,"column":54}}},"5":{"name":"(anonymous_5)","line":38,"loc":{"start":{"line":38,"column":29},"end":{"line":38,"column":43}}},"6":{"name":"(anonymous_6)","line":56,"loc":{"start":{"line":56,"column":22},"end":{"line":56,"column":60}}},"7":{"name":"(anonymous_7)","line":61,"loc":{"start":{"line":61,"column":22},"end":{"line":61,"column":36}}},"8":{"name":"(anonymous_8)","line":74,"loc":{"start":{"line":74,"column":18},"end":{"line":74,"column":35}}},"9":{"name":"(anonymous_9)","line":104,"loc":{"start":{"line":104,"column":26},"end":{"line":104,"column":55}}},"10":{"name":"(anonymous_10)","line":107,"loc":{"start":{"line":107,"column":31},"end":{"line":107,"column":50}}},"11":{"name":"(anonymous_11)","line":113,"loc":{"start":{"line":113,"column":25},"end":{"line":113,"column":48}}},"12":{"name":"(anonymous_12)","line":115,"loc":{"start":{"line":115,"column":47},"end":{"line":115,"column":62}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":27}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":43}},"4":{"start":{"line":6,"column":0},"end":{"line":6,"column":41}},"5":{"start":{"line":7,"column":0},"end":{"line":7,"column":31}},"6":{"start":{"line":12,"column":0},"end":{"line":29,"column":2}},"7":{"start":{"line":14,"column":2},"end":{"line":14,"column":66}},"8":{"start":{"line":16,"column":2},"end":{"line":28,"column":5}},"9":{"start":{"line":19,"column":4},"end":{"line":19,"column":100}},"10":{"start":{"line":20,"column":4},"end":{"line":20,"column":39}},"11":{"start":{"line":22,"column":4},"end":{"line":22,"column":71}},"12":{"start":{"line":22,"column":13},"end":{"line":22,"column":71}},"13":{"start":{"line":23,"column":4},"end":{"line":23,"column":60}},"14":{"start":{"line":24,"column":4},"end":{"line":27,"column":7}},"15":{"start":{"line":25,"column":6},"end":{"line":25,"column":80}},"16":{"start":{"line":25,"column":15},"end":{"line":25,"column":80}},"17":{"start":{"line":26,"column":6},"end":{"line":26,"column":11}},"18":{"start":{"line":34,"column":0},"end":{"line":42,"column":2}},"19":{"start":{"line":36,"column":2},"end":{"line":36,"column":98}},"20":{"start":{"line":37,"column":2},"end":{"line":37,"column":44}},"21":{"start":{"line":38,"column":2},"end":{"line":41,"column":5}},"22":{"start":{"line":39,"column":4},"end":{"line":39,"column":78}},"23":{"start":{"line":39,"column":13},"end":{"line":39,"column":78}},"24":{"start":{"line":40,"column":4},"end":{"line":40,"column":9}},"25":{"start":{"line":56,"column":0},"end":{"line":96,"column":2}},"26":{"start":{"line":58,"column":2},"end":{"line":58,"column":26}},"27":{"start":{"line":59,"column":2},"end":{"line":59,"column":23}},"28":{"start":{"line":61,"column":2},"end":{"line":72,"column":4}},"29":{"start":{"line":62,"column":4},"end":{"line":62,"column":35}},"30":{"start":{"line":62,"column":13},"end":{"line":62,"column":35}},"31":{"start":{"line":64,"column":4},"end":{"line":64,"column":22}},"32":{"start":{"line":67,"column":4},"end":{"line":67,"column":79}},"33":{"start":{"line":67,"column":31},"end":{"line":67,"column":79}},"34":{"start":{"line":74,"column":2},"end":{"line":95,"column":5}},"35":{"start":{"line":75,"column":4},"end":{"line":75,"column":76}},"36":{"start":{"line":77,"column":4},"end":{"line":94,"column":5}},"37":{"start":{"line":83,"column":8},"end":{"line":83,"column":26}},"38":{"start":{"line":84,"column":8},"end":{"line":84,"column":66}},"39":{"start":{"line":85,"column":8},"end":{"line":85,"column":14}},"40":{"start":{"line":88,"column":8},"end":{"line":88,"column":26}},"41":{"start":{"line":89,"column":8},"end":{"line":89,"column":65}},"42":{"start":{"line":90,"column":8},"end":{"line":90,"column":14}},"43":{"start":{"line":93,"column":8},"end":{"line":93,"column":59}},"44":{"start":{"line":104,"column":0},"end":{"line":141,"column":2}},"45":{"start":{"line":107,"column":2},"end":{"line":140,"column":5}},"46":{"start":{"line":108,"column":4},"end":{"line":108,"column":116}},"47":{"start":{"line":108,"column":13},"end":{"line":108,"column":116}},"48":{"start":{"line":113,"column":4},"end":{"line":123,"column":6}},"49":{"start":{"line":114,"column":6},"end":{"line":114,"column":30}},"50":{"start":{"line":114,"column":15},"end":{"line":114,"column":30}},"51":{"start":{"line":115,"column":6},"end":{"line":122,"column":9}},"52":{"start":{"line":116,"column":8},"end":{"line":116,"column":79}},"53":{"start":{"line":116,"column":18},"end":{"line":116,"column":79}},"54":{"start":{"line":120,"column":8},"end":{"line":120,"column":45}},"55":{"start":{"line":121,"column":8},"end":{"line":121,"column":95}},"56":{"start":{"line":126,"column":4},"end":{"line":139,"column":5}},"57":{"start":{"line":127,"column":6},"end":{"line":133,"column":7}},"58":{"start":{"line":129,"column":8},"end":{"line":129,"column":106}},"59":{"start":{"line":132,"column":8},"end":{"line":132,"column":96}},"60":{"start":{"line":138,"column":6},"end":{"line":138,"column":50}}},"branchMap":{"1":{"line":20,"type":"cond-expr","locations":[{"start":{"line":20,"column":22},"end":{"line":20,"column":33}},{"start":{"line":20,"column":36},"end":{"line":20,"column":38}}]},"2":{"line":22,"type":"if","locations":[{"start":{"line":22,"column":4},"end":{"line":22,"column":4}},{"start":{"line":22,"column":4},"end":{"line":22,"column":4}}]},"3":{"line":25,"type":"if","locations":[{"start":{"line":25,"column":6},"end":{"line":25,"column":6}},{"start":{"line":25,"column":6},"end":{"line":25,"column":6}}]},"4":{"line":39,"type":"if","locations":[{"start":{"line":39,"column":4},"end":{"line":39,"column":4}},{"start":{"line":39,"column":4},"end":{"line":39,"column":4}}]},"5":{"line":62,"type":"if","locations":[{"start":{"line":62,"column":4},"end":{"line":62,"column":4}},{"start":{"line":62,"column":4},"end":{"line":62,"column":4}}]},"6":{"line":67,"type":"if","locations":[{"start":{"line":67,"column":4},"end":{"line":67,"column":4}},{"start":{"line":67,"column":4},"end":{"line":67,"column":4}}]},"7":{"line":67,"type":"cond-expr","locations":[{"start":{"line":67,"column":59},"end":{"line":67,"column":70}},{"start":{"line":67,"column":73},"end":{"line":67,"column":77}}]},"8":{"line":77,"type":"switch","locations":[{"start":{"line":79,"column":6},"end":{"line":79,"column":15}},{"start":{"line":80,"column":6},"end":{"line":80,"column":15}},{"start":{"line":81,"column":6},"end":{"line":85,"column":14}},{"start":{"line":86,"column":6},"end":{"line":90,"column":14}},{"start":{"line":92,"column":6},"end":{"line":93,"column":59}}]},"9":{"line":108,"type":"if","locations":[{"start":{"line":108,"column":4},"end":{"line":108,"column":4}},{"start":{"line":108,"column":4},"end":{"line":108,"column":4}}]},"10":{"line":114,"type":"if","locations":[{"start":{"line":114,"column":6},"end":{"line":114,"column":6}},{"start":{"line":114,"column":6},"end":{"line":114,"column":6}}]},"11":{"line":116,"type":"if","locations":[{"start":{"line":116,"column":8},"end":{"line":116,"column":8}},{"start":{"line":116,"column":8},"end":{"line":116,"column":8}}]},"12":{"line":126,"type":"if","locations":[{"start":{"line":126,"column":4},"end":{"line":126,"column":4}},{"start":{"line":126,"column":4},"end":{"line":126,"column":4}}]},"13":{"line":127,"type":"if","locations":[{"start":{"line":127,"column":6},"end":{"line":127,"column":6}},{"start":{"line":127,"column":6},"end":{"line":127,"column":6}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/hooks/github.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/hooks/github.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0,0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0},"fnMap":{"1":{"name":"(anonymous_1)","line":11,"loc":{"start":{"line":11,"column":15},"end":{"line":11,"column":45}}},"2":{"name":"(anonymous_2)","line":21,"loc":{"start":{"line":21,"column":40},"end":{"line":21,"column":55}}},"3":{"name":"(anonymous_3)","line":22,"loc":{"start":{"line":22,"column":40},"end":{"line":22,"column":58}}},"4":{"name":"(anonymous_4)","line":39,"loc":{"start":{"line":39,"column":38},"end":{"line":39,"column":52}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":33}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":40}},"4":{"start":{"line":6,"column":0},"end":{"line":6,"column":44}},"5":{"start":{"line":11,"column":0},"end":{"line":54,"column":2}},"6":{"start":{"line":15,"column":2},"end":{"line":15,"column":22}},"7":{"start":{"line":18,"column":2},"end":{"line":18,"column":29}},"8":{"start":{"line":21,"column":2},"end":{"line":49,"column":5}},"9":{"start":{"line":22,"column":4},"end":{"line":48,"column":7}},"10":{"start":{"line":23,"column":6},"end":{"line":23,"column":65}},"11":{"start":{"line":25,"column":6},"end":{"line":45,"column":7}},"12":{"start":{"line":27,"column":8},"end":{"line":27,"column":31}},"13":{"start":{"line":28,"column":8},"end":{"line":28,"column":46}},"14":{"start":{"line":29,"column":8},"end":{"line":29,"column":75}},"15":{"start":{"line":32,"column":8},"end":{"line":44,"column":9}},"16":{"start":{"line":34,"column":10},"end":{"line":34,"column":46}},"17":{"start":{"line":37,"column":10},"end":{"line":37,"column":61}},"18":{"start":{"line":38,"column":10},"end":{"line":38,"column":98}},"19":{"start":{"line":38,"column":19},"end":{"line":38,"column":98}},"20":{"start":{"line":39,"column":10},"end":{"line":43,"column":13}},"21":{"start":{"line":40,"column":12},"end":{"line":40,"column":46}},"22":{"start":{"line":40,"column":21},"end":{"line":40,"column":46}},"23":{"start":{"line":42,"column":12},"end":{"line":42,"column":71}},"24":{"start":{"line":47,"column":6},"end":{"line":47,"column":21}},"25":{"start":{"line":51,"column":2},"end":{"line":51,"column":34}},"26":{"start":{"line":53,"column":2},"end":{"line":53,"column":95}}},"branchMap":{"1":{"line":22,"type":"binary-expr","locations":[{"start":{"line":22,"column":14},"end":{"line":22,"column":24}},{"start":{"line":22,"column":28},"end":{"line":22,"column":38}}]},"2":{"line":25,"type":"if","locations":[{"start":{"line":25,"column":6},"end":{"line":25,"column":6}},{"start":{"line":25,"column":6},"end":{"line":25,"column":6}}]},"3":{"line":25,"type":"binary-expr","locations":[{"start":{"line":25,"column":10},"end":{"line":25,"column":18}},{"start":{"line":25,"column":22},"end":{"line":25,"column":34}},{"start":{"line":25,"column":38},"end":{"line":25,"column":58}},{"start":{"line":25,"column":62},"end":{"line":25,"column":85}}]},"4":{"line":32,"type":"if","locations":[{"start":{"line":32,"column":8},"end":{"line":32,"column":8}},{"start":{"line":32,"column":8},"end":{"line":32,"column":8}}]},"5":{"line":38,"type":"if","locations":[{"start":{"line":38,"column":10},"end":{"line":38,"column":10}},{"start":{"line":38,"column":10},"end":{"line":38,"column":10}}]},"6":{"line":40,"type":"if","locations":[{"start":{"line":40,"column":12},"end":{"line":40,"column":12}},{"start":{"line":40,"column":12},"end":{"line":40,"column":12}}]},"7":{"line":51,"type":"binary-expr","locations":[{"start":{"line":51,"column":13},"end":{"line":51,"column":24}},{"start":{"line":51,"column":28},"end":{"line":51,"column":32}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/hooks/polling.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/hooks/polling.js","s":{"1":1,"2":1,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0},"b":{"1":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0},"fnMap":{"1":{"name":"(anonymous_1)","line":8,"loc":{"start":{"line":8,"column":15},"end":{"line":8,"column":45}}},"2":{"name":"(anonymous_2)","line":12,"loc":{"start":{"line":12,"column":29},"end":{"line":12,"column":42}}},"3":{"name":"(anonymous_3)","line":14,"loc":{"start":{"line":14,"column":16},"end":{"line":14,"column":27}}},"4":{"name":"(anonymous_4)","line":15,"loc":{"start":{"line":15,"column":31},"end":{"line":15,"column":45}}},"5":{"name":"(anonymous_5)","line":22,"loc":{"start":{"line":22,"column":39},"end":{"line":22,"column":56}}},"6":{"name":"(anonymous_6)","line":24,"loc":{"start":{"line":24,"column":15},"end":{"line":24,"column":26}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":44}},"2":{"start":{"line":8,"column":0},"end":{"line":32,"column":2}},"3":{"start":{"line":12,"column":2},"end":{"line":20,"column":4}},"4":{"start":{"line":13,"column":4},"end":{"line":13,"column":96}},"5":{"start":{"line":14,"column":4},"end":{"line":19,"column":36}},"6":{"start":{"line":15,"column":6},"end":{"line":18,"column":9}},"7":{"start":{"line":16,"column":8},"end":{"line":16,"column":36}},"8":{"start":{"line":16,"column":17},"end":{"line":16,"column":36}},"9":{"start":{"line":17,"column":8},"end":{"line":17,"column":74}},"10":{"start":{"line":22,"column":2},"end":{"line":29,"column":5}},"11":{"start":{"line":23,"column":4},"end":{"line":23,"column":50}},"12":{"start":{"line":24,"column":4},"end":{"line":28,"column":57}},"13":{"start":{"line":25,"column":6},"end":{"line":25,"column":31}},"14":{"start":{"line":31,"column":2},"end":{"line":31,"column":85}}},"branchMap":{"1":{"line":16,"type":"if","locations":[{"start":{"line":16,"column":8},"end":{"line":16,"column":8}},{"start":{"line":16,"column":8},"end":{"line":16,"column":8}}]}}},"/Users/wrb/vistaprint/code/git_to_consul/lib/hooks/stash.js":{"path":"/Users/wrb/vistaprint/code/git_to_consul/lib/hooks/stash.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0,0],"6":[0,0],"7":[0,0],"8":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0},"fnMap":{"1":{"name":"(anonymous_1)","line":12,"loc":{"start":{"line":12,"column":15},"end":{"line":12,"column":45}}},"2":{"name":"(anonymous_2)","line":19,"loc":{"start":{"line":19,"column":10},"end":{"line":19,"column":21}}},"3":{"name":"(anonymous_3)","line":19,"loc":{"start":{"line":19,"column":29},"end":{"line":19,"column":54}}},"4":{"name":"(anonymous_4)","line":25,"loc":{"start":{"line":25,"column":40},"end":{"line":25,"column":55}}},"5":{"name":"(anonymous_5)","line":26,"loc":{"start":{"line":26,"column":40},"end":{"line":26,"column":58}}},"6":{"name":"(anonymous_6)","line":32,"loc":{"start":{"line":32,"column":36},"end":{"line":32,"column":56}}},"7":{"name":"(anonymous_7)","line":44,"loc":{"start":{"line":44,"column":49},"end":{"line":44,"column":63}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":44}},"3":{"start":{"line":5,"column":0},"end":{"line":5,"column":33}},"4":{"start":{"line":6,"column":0},"end":{"line":6,"column":40}},"5":{"start":{"line":12,"column":0},"end":{"line":60,"column":2}},"6":{"start":{"line":16,"column":2},"end":{"line":16,"column":22}},"7":{"start":{"line":19,"column":2},"end":{"line":19,"column":107}},"8":{"start":{"line":19,"column":22},"end":{"line":19,"column":102}},"9":{"start":{"line":19,"column":55},"end":{"line":19,"column":94}},"10":{"start":{"line":19,"column":94},"end":{"line":19,"column":101}},"11":{"start":{"line":22,"column":2},"end":{"line":22,"column":29}},"12":{"start":{"line":25,"column":2},"end":{"line":55,"column":5}},"13":{"start":{"line":26,"column":4},"end":{"line":54,"column":7}},"14":{"start":{"line":28,"column":6},"end":{"line":28,"column":64}},"15":{"start":{"line":30,"column":6},"end":{"line":51,"column":7}},"16":{"start":{"line":32,"column":8},"end":{"line":50,"column":11}},"17":{"start":{"line":34,"column":10},"end":{"line":34,"column":80}},"18":{"start":{"line":37,"column":10},"end":{"line":49,"column":11}},"19":{"start":{"line":39,"column":12},"end":{"line":39,"column":60}},"20":{"start":{"line":42,"column":12},"end":{"line":42,"column":63}},"21":{"start":{"line":43,"column":12},"end":{"line":43,"column":100}},"22":{"start":{"line":43,"column":21},"end":{"line":43,"column":100}},"23":{"start":{"line":44,"column":12},"end":{"line":48,"column":15}},"24":{"start":{"line":45,"column":14},"end":{"line":45,"column":48}},"25":{"start":{"line":45,"column":23},"end":{"line":45,"column":48}},"26":{"start":{"line":47,"column":14},"end":{"line":47,"column":73}},"27":{"start":{"line":53,"column":6},"end":{"line":53,"column":21}},"28":{"start":{"line":57,"column":2},"end":{"line":57,"column":34}},"29":{"start":{"line":59,"column":2},"end":{"line":59,"column":94}}},"branchMap":{"1":{"line":26,"type":"binary-expr","locations":[{"start":{"line":26,"column":14},"end":{"line":26,"column":24}},{"start":{"line":26,"column":28},"end":{"line":26,"column":38}}]},"2":{"line":30,"type":"if","locations":[{"start":{"line":30,"column":6},"end":{"line":30,"column":6}},{"start":{"line":30,"column":6},"end":{"line":30,"column":6}}]},"3":{"line":30,"type":"binary-expr","locations":[{"start":{"line":30,"column":10},"end":{"line":30,"column":18}},{"start":{"line":30,"column":22},"end":{"line":30,"column":41}}]},"4":{"line":37,"type":"if","locations":[{"start":{"line":37,"column":10},"end":{"line":37,"column":10}},{"start":{"line":37,"column":10},"end":{"line":37,"column":10}}]},"5":{"line":37,"type":"binary-expr","locations":[{"start":{"line":37,"column":14},"end":{"line":37,"column":29}},{"start":{"line":37,"column":34},"end":{"line":37,"column":78}},{"start":{"line":37,"column":83},"end":{"line":37,"column":99}}]},"6":{"line":43,"type":"if","locations":[{"start":{"line":43,"column":12},"end":{"line":43,"column":12}},{"start":{"line":43,"column":12},"end":{"line":43,"column":12}}]},"7":{"line":45,"type":"if","locations":[{"start":{"line":45,"column":14},"end":{"line":45,"column":14}},{"start":{"line":45,"column":14},"end":{"line":45,"column":14}}]},"8":{"line":57,"type":"binary-expr","locations":[{"start":{"line":57,"column":13},"end":{"line":57,"column":24}},{"start":{"line":57,"column":28},"end":{"line":57,"column":32}}]}}}} |
@@ -7,2 +7,14 @@ var should = require('should'); | ||
var logging = require('../lib/utils/logging.js'); | ||
logging.init({ | ||
"logger" : { | ||
"name" : "git2consul", | ||
"streams" : [{ | ||
"level": "trace", | ||
"type": "rotating-file", | ||
"path": "./test/logs/test.log" | ||
}] | ||
} | ||
}); | ||
var git_commands = require('../lib/utils/git_commands.js'); | ||
@@ -14,15 +26,19 @@ var git_utils = require('./utils/git_utils.js'); | ||
beforeEach(function(done) { | ||
console.log('running cleanup'); | ||
rimraf(git_utils.TEST_REMOTE_REPO, function(err) { | ||
if (err) return done(err); | ||
rimraf(git_utils.TEST_WORKING_DIR, function(err) { | ||
mkdirp(git_utils.TEST_REMOTE_REPO, function(err) { | ||
if (err) return done(err); | ||
mkdirp(git_utils.TEST_REMOTE_REPO, function(err) { | ||
rimraf(git_utils.TEST_WORKING_DIR, function(err) { | ||
if (err) return done(err); | ||
mkdirp(git_utils.TEST_WORKING_DIR, function(err) { | ||
if (err) return done(err); | ||
git_commands.init(git_utils.TEST_REMOTE_REPO, function(err) { | ||
rimraf(git_utils.TEST_GITHUB_WORKING_DIR, function(err) { | ||
if (err) return done(err); | ||
done(); | ||
mkdirp(git_utils.TEST_GITHUB_WORKING_DIR, function(err) { | ||
if (err) return done(err); | ||
git_commands.init(git_utils.TEST_REMOTE_REPO, function(err) { | ||
if (err) return done(err); | ||
done(); | ||
}); | ||
}); | ||
}); | ||
@@ -29,0 +45,0 @@ }); |
var _ = require('underscore'); | ||
var should = require('should'); | ||
// We want this above any git2consul module to make sure logging gets configured | ||
require('./git2consul_bootstrap_test.js'); | ||
var git_manager = require('../lib/git_manager.js'); | ||
var git_utils = require('./utils/git_utils.js'); | ||
require('./git2consul_bootstrap_test.js'); | ||
describe('Config Validation', function() { | ||
@@ -9,0 +11,0 @@ |
@@ -6,12 +6,14 @@ ##### TODO | ||
* ✓ Initialize git2consul using that repo | ||
* ✓ Initialize git2consul using a repo already on disk | ||
* ✓ Initializing multiple repos at once | ||
* Create test cases around all git operations | ||
* Add | ||
* ✓ Add | ||
* ✓ On pull | ||
* ✓ On clone | ||
* Delete | ||
* Copy | ||
* Move | ||
* ✓ Delete | ||
* ✓ Move | ||
* Type change | ||
* Create concurrency test case | ||
* Signal several concurrent gitpokes, validate that branch updates are serial | ||
* ✓ Signal several concurrent gitpokes, validate that branch updates are serial | ||
* ✓ Validate that passing in refs out of order does not lead to inconsistent end state | ||
* Create test cases around file names | ||
@@ -18,0 +20,0 @@ * Test keys with other escape characters |
@@ -8,4 +8,4 @@ var ConsulClass = require('consul-node'); | ||
cb(null, value[0].value); | ||
cb(null, value === undefined ? value : value[0].value); | ||
}); | ||
}; |
@@ -6,3 +6,5 @@ var fs = require('fs'); | ||
exports.TEST_REMOTE_REPO = '/tmp/test_repo/'; | ||
exports.TEST_GITHUB_REPO = 'git@github.com:ryanbreen/git2consul_data.git'; | ||
exports.TEST_WORKING_DIR = '/tmp/test_workspace/'; | ||
exports.TEST_GITHUB_WORKING_DIR = '/tmp/test_github_workspace/'; | ||
@@ -36,1 +38,25 @@ exports.createConfig = function() { | ||
}; | ||
exports.deleteFileFromGitRepo = function(name, commit_message, cb) { | ||
git_commands.delete(name, exports.TEST_REMOTE_REPO, function(err) { | ||
if (err) return cb(err); | ||
git_commands.commit(commit_message, exports.TEST_REMOTE_REPO, function(err) { | ||
if (err) return cb(err); | ||
cb(); | ||
}); | ||
}); | ||
}; | ||
exports.moveFileInGitRepo = function(old_name, new_name, commit_message, cb) { | ||
git_commands.mv(old_name, new_name, exports.TEST_REMOTE_REPO, function(err) { | ||
if (err) return cb(err); | ||
git_commands.commit(commit_message, exports.TEST_REMOTE_REPO, function(err) { | ||
if (err) return cb(err); | ||
cb(); | ||
}); | ||
}); | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
45
1115