Skip to content

Commit

Permalink
perf(v2): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun authored Jun 15, 2020
1 parent 3dcb77d commit 763b6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-blog/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ export default function pluginContentBlog(
);
const feedContent = feedType === 'rss' ? feed.rss2() : feed.atom1();
try {
fs.outputFile(feedPath, feedContent);
await fs.outputFile(feedPath, feedContent);
} catch (err) {
throw new Error(`Generating ${feedType} feed failed: ${err}`);
}
Expand Down

0 comments on commit 763b6b9

Please sign in to comment.