From 1f506a4109e8722684b31face154f912a0a1c42f Mon Sep 17 00:00:00 2001 From: Shigma <1700011071@pku.edu.cn> Date: Sun, 13 Sep 2020 21:16:47 +0800 Subject: [PATCH] feat(cli): adjust init hint to install new dependencies --- packages/koishi/src/init.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/koishi/src/init.ts b/packages/koishi/src/init.ts index 9ada23aaa1..b53cabbf46 100644 --- a/packages/koishi/src/init.ts +++ b/packages/koishi/src/init.ts @@ -195,7 +195,7 @@ async function updateMeta(config: AppConfig) { } if (!modified) return await fs.writeFile(path, JSON.stringify(meta, null, 2)) - console.log(`${success} package.json was updated`) + console.log(`${success} package.json was updated, type "npm install" to install new dependencies`) } type Serializable = string | number | Serializable[] | { [key: string]: Serializable }