_copyTpl()

in lib/base-generator.js [25:28]


  _copyTpl(sourcePath, destinationPath, ctx, globOptions, customOptions) {
    this._mapFiles(sourcePath, destinationPath, globOptions, customOptions)
      .forEach(({ sourceFilePath, destPath }) => this.fs.copyTpl(sourceFilePath, destPath, ctx, globOptions));
  }