diff --git a/lib/template.js b/lib/template.js index ef03288..5b7246d 100644 --- a/lib/template.js +++ b/lib/template.js @@ -121,8 +121,8 @@ const downloadTemplate = (cli, templateInfo, options) => { files.forEach(name => { const file = path.join(absSourceDir, name); if (fs.statSync(file).isDirectory()) { - d.copy(file, dist); - d.green(`create ${d.chalk.yellow(templateInfo.name)} successfully [${d.chalk.yellow(file)}]`); + d.copy(file, dist, { hide: false }); + d.green(`create ${d.chalk.yellow(templateInfo.name)} successfully [${d.chalk.yellow(path.join(dist, name))}]`); } else { const content = artTemplate(file, { classname }); const filepath = path.resolve(dist, filename || name); diff --git a/package.json b/package.json index 47b43f9..78583a8 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,6 @@ { "name": "@easy-team/easywebpack-cli", -<<<<<<< HEAD - "version": "4.5.0", -======= - "version": "4.5.1", ->>>>>>> next + "version": "4.5.2", "description": "Webpack Building Command Line And Boilerplate Init Tool", "bin": { "easywebpack": "bin/cli.js",