fix(install.js): fix mistyped. cached -> cache

This commit is contained in:
qxb3
2022-05-11 17:23:13 +08:00
committed by Evo
parent fc01554fae
commit fa689360ce

View File

@@ -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,
});