Showing 2 of 4 total issues
Function exports
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(system, options) {
if (!system) throw new Error('system is required')
var config = merge({ restart: { window: '60s' }}, options)
Function start
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function start(cb) {
system.start(function(err, components) {
if (err) return cb(err)
process.on('systemic_restart', scheduleRestart)