Skip to content

Commit

Permalink
fix: use "loadContributorsList"
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Jun 9, 2020
1 parent 6de9274 commit bf79e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/files/RenderToFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class RenderToFile {
async generate({ contributorsListFile, renderer }: GenerateArgs) {
await this.loadRenderTo();

const content = render(contributorsListFile.getContributorsList(), renderer);
const content = render(await contributorsListFile.loadContributorsList(), renderer);
const regex = new RegExp(/<!-- CONTREEBUTORS:START.*<!-- CONTREEBUTORS:END -->/s);
if (this.content.match(regex)) {
this.content = this.content.replace(regex, content);
Expand Down

0 comments on commit bf79e79

Please sign in to comment.