From 002bbc37b140d177276cd655049e7de2072fa537 Mon Sep 17 00:00:00 2001
From: Jimmy He <417267+hhe@users.noreply.github.com>
Date: Mon, 01 Jan 2024 22:14:37 +0000
Subject: [PATCH] fix: Continue setup even if a file to delete is not found (#663)
---
quartz/build.ts | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/quartz/build.ts b/quartz/build.ts
index 0ebc529..24f0498 100644
--- a/quartz/build.ts
+++ b/quartz/build.ts
@@ -148,8 +148,11 @@
await rimraf(argv.output)
await emitContent(ctx, filteredContent)
console.log(chalk.green(`Done rebuilding in ${perf.timeSince()}`))
- } catch {
+ } catch (err) {
console.log(chalk.yellow(`Rebuild failed. Waiting on a change to fix the error...`))
+ if (argv.verbose) {
+ console.log(chalk.red(err))
+ }
}
release()
--
Gitblit v1.10.0