From 59b58076016c5e5f09f16ab0395fed02e2ebb72e Mon Sep 17 00:00:00 2001
From: wasita <wasita.mahaphanit.gr@dartmouth.edu>
Date: Wed, 04 Mar 2026 15:42:49 +0000
Subject: [PATCH] 🐛 fix(cli): use 'gray' instead of 'grey' in styleText calls (#2321)
---
quartz/processors/emit.ts | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/quartz/processors/emit.ts b/quartz/processors/emit.ts
index aae119d..7870295 100644
--- a/quartz/processors/emit.ts
+++ b/quartz/processors/emit.ts
@@ -4,14 +4,14 @@
import { QuartzLogger } from "../util/log"
import { trace } from "../util/trace"
import { BuildCtx } from "../util/ctx"
-import chalk from "chalk"
+import { styleText } from "util"
export async function emitContent(ctx: BuildCtx, content: ProcessedContent[]) {
const { argv, cfg } = ctx
const perf = new PerfTimer()
const log = new QuartzLogger(ctx.argv.verbose)
- log.start(`Emitting output files`)
+ log.start(`Emitting files`)
let emittedFiles = 0
const staticResources = getStaticResourcesFromPlugins(ctx)
@@ -26,7 +26,7 @@
if (ctx.argv.verbose) {
console.log(`[emit:${emitter.name}] ${file}`)
} else {
- log.updateText(`Emitting output files: ${emitter.name} -> ${chalk.gray(file)}`)
+ log.updateText(`${emitter.name} -> ${styleText("gray", file)}`)
}
}
} else {
@@ -36,7 +36,7 @@
if (ctx.argv.verbose) {
console.log(`[emit:${emitter.name}] ${file}`)
} else {
- log.updateText(`Emitting output files: ${emitter.name} -> ${chalk.gray(file)}`)
+ log.updateText(`${emitter.name} -> ${styleText("gray", file)}`)
}
}
}
--
Gitblit v1.10.0