From d8d9dd22c9e81f344f3ab56f7262d804c2720fcd Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 07 Aug 2023 03:52:17 +0000
Subject: [PATCH] fix shortest path for non-md files, mobile fix

---
 quartz/trace.ts |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/quartz/trace.ts b/quartz/trace.ts
index 803fd2f..337ffe0 100644
--- a/quartz/trace.ts
+++ b/quartz/trace.ts
@@ -1,4 +1,5 @@
 import chalk from "chalk"
+import process from "process"
 
 const rootFile = /.*at file:/
 export function trace(msg: string, err: Error) {
@@ -28,4 +29,5 @@
       }
     }
   }
+  process.exit(1)
 }

--
Gitblit v1.10.0