diff --git a/src/files/RenderToFile.ts b/src/files/RenderToFile.ts index f49ff78..70375cd 100644 --- a/src/files/RenderToFile.ts +++ b/src/files/RenderToFile.ts @@ -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(//s); if (this.content.match(regex)) { this.content = this.content.replace(regex, content);