From fa689360ce054c63dab77e8b8f0b794b3b8736e4 Mon Sep 17 00:00:00 2001 From: qxb3 Date: Wed, 11 May 2022 17:23:13 +0800 Subject: [PATCH] fix(install.js): fix mistyped. cached -> cache --- src/utilities/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities/install.js b/src/utilities/install.js index e18cb95..5e03391 100644 --- a/src/utilities/install.js +++ b/src/utilities/install.js @@ -46,7 +46,7 @@ export async function cloneRepo(lang, name) { path.join(os.homedir(), '.degit/github/sern-handler/templates') ); const emitter = degit('sern-handler/templates/templates', { - cached: isCached, + cache: isCached, force: true, });