Skip to content

Commit

Permalink
feat(import): propagate logger to mdast2docx
Browse files Browse the repository at this point in the history
  • Loading branch information
kptdobe committed Sep 9, 2021
1 parent 270279a commit 5cd7f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/importer/PageImporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default abstract class PageImporter implements Importer {
.use(remarkMatter)
.parse(content);

const buffer = await mdast2docx(mdast);
const buffer = await mdast2docx(mdast, this.logger);
await this.params.storageHandler.put(docx, buffer);
return docx;
}
Expand Down

0 comments on commit 5cd7f83

Please sign in to comment.