From 58202fd9ba9fa6209c288a66d622fb60b8674d57 Mon Sep 17 00:00:00 2001 From: 1549469775 <1549469775@qq.com> Date: Thu, 23 Jun 2022 09:26:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0TODO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/func.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/func.ts b/src/func.ts index 861b4d5..5c3ae27 100644 --- a/src/func.ts +++ b/src/func.ts @@ -137,6 +137,7 @@ export function onClone(name: string, target: string, cc: { ignore?:boolean }) { download(branch?git_url+'#'+branch:git_url, tempPath, { clone: true }, function (err: Error) { if (err) throw err; console.log("临时文件夹为:" + tempPath); + //TODO 考虑增加命令行交互功能 writefile(tempPath, to, opts, false, !cc.ignore); fs.removeSync(tempPath); console.log(chalk.green("已清除临时文件夹"));