Browse Source

增加TODO

master
1549469775 3 years ago
parent
commit
58202fd9ba
  1. 1
      src/func.ts

1
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("已清除临时文件夹"));

Loading…
Cancel
Save