_runPipeline()

in lib/base-generator.js [55:59]


  _runPipeline(versionKey, destinationPath, pipeline) {
    const patches = require(this.sourceRoot() + '/patch.json');
    const rootPaths = ['default', ...(patches[versionKey] || [])];
    pipeline.forEach(f => rootPaths.forEach(rootPath => f.bind(this)(rootPath, destinationPath)));
  }