From 558a50916446746768fa43bbdfc8e229d8ec7759 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 03 Aug 2023 05:11:46 +0000
Subject: [PATCH] format

---
 quartz/glob.ts  |   12 ++++++++----
 quartz/build.ts |    2 +-
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/quartz/build.ts b/quartz/build.ts
index 688f735..07b51fb 100644
--- a/quartz/build.ts
+++ b/quartz/build.ts
@@ -78,7 +78,7 @@
   let toRebuild: Set<FilePath> = new Set()
   let toRemove: Set<FilePath> = new Set()
   async function rebuild(fp: string, action: "add" | "change" | "delete") {
-    fp = toPosixPath(fp) 
+    fp = toPosixPath(fp)
     if (!ignored(fp)) {
       const filePath = joinSegments(argv.directory, fp) as FilePath
       if (action === "add" || action === "change") {
diff --git a/quartz/glob.ts b/quartz/glob.ts
index dcfa61b..7a71160 100644
--- a/quartz/glob.ts
+++ b/quartz/glob.ts
@@ -1,12 +1,16 @@
-import path from "path";
-import { FilePath } from "./path";
-import { globby } from "globby";
+import path from "path"
+import { FilePath } from "./path"
+import { globby } from "globby"
 
 export function toPosixPath(fp: string): string {
   return fp.split(path.sep).join("/")
 }
 
-export async function glob(pattern: string, cwd: string, ignorePatterns: string[]): Promise<FilePath[]> {
+export async function glob(
+  pattern: string,
+  cwd: string,
+  ignorePatterns: string[],
+): Promise<FilePath[]> {
   const fps = (
     await globby(pattern, {
       cwd,

--
Gitblit v1.10.0