private getTemplateFromConfig()

in src/transformer/transformer.ts [79:89]


  private getTemplateFromConfig() {
    let template = '';
    if (this.config && this.config.template) {
      template = this.config.template;
    } else if (this.config && this.config.templatePath) {
      template = fs.readFileSync(this.config.templatePath, {
        encoding: 'utf-8',
      });
    }
    return template;
  }