From 55a1fb8c41b6a34cc5cdfc5ec2533ed1f642211d Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 24 Jul 2023 00:09:12 +0000
Subject: [PATCH] format

---
 quartz/processors/emit.ts |   14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/quartz/processors/emit.ts b/quartz/processors/emit.ts
index 004bb18..4cb25f6 100644
--- a/quartz/processors/emit.ts
+++ b/quartz/processors/emit.ts
@@ -84,11 +84,8 @@
   }
 }
 
-export async function emitContent(
-  ctx: BuildCtx,
-  content: ProcessedContent[],
-) {
-  const { argv, cfg }= ctx
+export async function emitContent(ctx: BuildCtx, content: ProcessedContent[]) {
+  const { argv, cfg } = ctx
   const contentFolder = argv.directory
   const perf = new PerfTimer()
   const log = new QuartzLogger(ctx.argv.verbose)
@@ -125,12 +122,7 @@
   // emitter plugins
   for (const emitter of cfg.plugins.emitters) {
     try {
-      const emitted = await emitter.emit(
-        ctx,
-        content,
-        staticResources,
-        emit,
-      )
+      const emitted = await emitter.emit(ctx, content, staticResources, emit)
       emittedFiles += emitted.length
 
       if (ctx.argv.verbose) {

--
Gitblit v1.10.0