From 569ff1a801f92c0761b5ddc9dbff52833b193c94 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 24 Jul 2023 04:53:34 +0000
Subject: [PATCH] npm i on quartz update
---
quartz/bootstrap-cli.mjs | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/quartz/bootstrap-cli.mjs b/quartz/bootstrap-cli.mjs
index aa26ffc..1f853a2 100755
--- a/quartz/bootstrap-cli.mjs
+++ b/quartz/bootstrap-cli.mjs
@@ -247,6 +247,8 @@
)
spawnSync("git", ["pull", UPSTREAM_NAME, QUARTZ_SOURCE_BRANCH], { stdio: "inherit" })
await popContentFolder(contentFolder)
+ console.log("Ensuring dependencies are up to date")
+ spawnSync("npm", ["i"], { stdio: "inherit" })
console.log(chalk.green("Done!"))
})
.command("sync", "Sync your Quartz to and from GitHub.", SyncArgv, async (argv) => {
@@ -339,9 +341,6 @@
.catch((err) => {
console.error(`${chalk.red("Couldn't parse Quartz configuration:")} ${fp}`)
console.log(`Reason: ${chalk.grey(err)}`)
- console.log(
- "hint: make sure all the required dependencies are installed (run `npm install`)",
- )
process.exit(1)
})
--
Gitblit v1.10.0