Skip to content

Commit 36e0da0

Browse files
authored
Merge branch 'jackyzha0:v4' into v4
2 parents feb0aa8 + 59b5807 commit 36e0da0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

quartz/cli/handlers.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export async function handleBuild(argv) {
318318

319319
const result = await ctx.rebuild().catch((err) => {
320320
console.error(`${styleText("red", "Couldn't parse Quartz configuration:")} ${fp}`)
321-
console.log(`Reason: ${styleText("grey", err)}`)
321+
console.log(`Reason: ${styleText("gray", err)}`)
322322
process.exit(1)
323323
})
324324
release()
@@ -395,7 +395,7 @@ export async function handleBuild(argv) {
395395
status >= 200 && status < 300
396396
? styleText("green", `[${status}]`)
397397
: styleText("red", `[${status}]`)
398-
console.log(statusString + styleText("grey", ` ${argv.baseDir}${req.url}`))
398+
console.log(statusString + styleText("gray", ` ${argv.baseDir}${req.url}`))
399399
release()
400400
}
401401

@@ -406,7 +406,7 @@ export async function handleBuild(argv) {
406406
})
407407
console.log(
408408
styleText("yellow", "[302]") +
409-
styleText("grey", ` ${argv.baseDir}${req.url} -> ${newFp}`),
409+
styleText("gray", ` ${argv.baseDir}${req.url} -> ${newFp}`),
410410
)
411411
res.end()
412412
}
@@ -482,7 +482,7 @@ export async function handleBuild(argv) {
482482
.on("change", () => build(clientRefresh))
483483
.on("unlink", () => build(clientRefresh))
484484

485-
console.log(styleText("grey", "hint: exit with ctrl+c"))
485+
console.log(styleText("gray", "hint: exit with ctrl+c"))
486486
}
487487
}
488488

quartz/components/scripts/spa.inline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async function _navigate(url: URL, isBack: boolean = false) {
102102
html.body.appendChild(announcer)
103103

104104
// morph body
105-
micromorph(document.body, html.body)
105+
await micromorph(document.body, html.body)
106106

107107
// scroll into place and add history
108108
if (!isBack) {

0 commit comments

Comments
 (0)