Skip to content

Commit

Permalink
style: deno task fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
YDX-2147483647 committed Dec 12, 2023
1 parent 2d639a6 commit eb04086
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugin/rss/rss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ export async function write_rss(notices: Notice[], path: string, options: {
const { max_items, ...rss_options } = options

notices.sort(sort_by_date)
await Deno.writeTextFile(path, build_feed(notices.slice(0, max_items), rss_options))
await Deno.writeTextFile(
path,
build_feed(notices.slice(0, max_items), rss_options),
)
logger.info(`已保存到“${path}”。`, { plugin: 'rss' })
}

0 comments on commit eb04086

Please sign in to comment.