lib/pm.js
function (callback) {
        if (self.options.sagaPath === '') {
          self.sagas = {};
          debug('empty sagaPath defined so no sagas will be loaded...');
          return callback(null);
        }
        debug('load saga files...');
        self.structureLoader(self.options.sagaPath, function (err, sagas, warns) {
          if (err) {
            return callback(err);
          }
          warnings = warns;
          self.sagas = attachLookupFunctions(sagas);
          callback(null);
        });
      }
function (callback) {
        if (self.options.sagaPath === '') {
          self.sagas = {};
          debug('empty sagaPath defined so no sagas will be loaded...');
          return callback(null);
        }
        debug('load saga files...');
        self.structureLoader(self.options.sagaPath, function (err, sagas, warns) {
          if (err) {
            return callback(err);
          }
          warnings = warns;
          self.sagas = attachLookupFunctions(sagas);
          callback(null);
        });
      }
function ( callback ) { if ( self . options . sagaPath === '' ) { self . sagas = { } ; debug ( 'empty sagaPath defined so no sagas will be loaded...' ) ; return callback ( null ) ; } debug ( 'load saga files...' ) ; self . structureLoader ( self . options . sagaPath , function ( err , sagas , warns ) { if ( err ) { return callback ( err ) ; } warnings = warns ; self . sagas = attachLookupFunctions ( sagas ) ; callback ( null ) ; } ) ; }
load saga files...
load saga files ...