From a3e4c86a4cf18e31fe5b65d57ce120174c9f6aee Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 16 Jul 2023 06:05:17 +0000
Subject: [PATCH] fix ci, disable strict path type checks by default

---
 quartz/path.ts            |    4 ++--
 .github/workflows/ci.yaml |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/deploy.yaml b/.github/workflows/ci.yaml
similarity index 95%
rename from .github/workflows/deploy.yaml
rename to .github/workflows/ci.yaml
index 6c9adda..f179eaa 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/ci.yaml
@@ -1,4 +1,4 @@
-name: Deploy to GitHub Pages
+name: Build and Test 
 
 on:
   push:
diff --git a/quartz/path.ts b/quartz/path.ts
index 4a0bbb0..24144d8 100644
--- a/quartz/path.ts
+++ b/quartz/path.ts
@@ -43,8 +43,8 @@
 //                                             └────────────┤ MD File ├─────┴─────────────────┘
 //                                                          └─────────┘
 
-const STRICT_TYPE_CHECKS = true
-const HARD_EXIT_ON_FAIL = true
+const STRICT_TYPE_CHECKS = false
+const HARD_EXIT_ON_FAIL = false
 
 function conditionCheck<T>(name: string, label: 'pre' | 'post', s: T, chk: (x: any) => x is T) {
   if (STRICT_TYPE_CHECKS && !chk(s)) {

--
Gitblit v1.10.0