Skip to content

Commit

Permalink
fix: Move @ts-ignore comment back into correct line
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaschka committed Jan 6, 2021
1 parent de67ad1 commit 411e509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builders/build-static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ const viewFolder = path.resolve(__dirname, '..', '..', 'views');

async function render(view: string, data: any, outPath: string) {
fs.mkdirSync(path.dirname(outPath), { recursive: true });
// @ts-ignore
await fs.writeFileSync(
outPath,
// @ts-ignore
await ejs.renderFile(path.resolve(viewFolder, view + '.ejs'), data, {
root: viewFolder,
views: viewFolder
Expand Down

0 comments on commit 411e509

Please sign in to comment.