Skip to content

Commit ced45f7

Browse files
author
qhdhiman
committed
去掉add module时的console
1 parent b4f5860 commit ced45f7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

commands/add.js

-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ module.exports = (api, options) => {
2020
// entry arg
2121
const entry = args._[0]
2222
// api.resolve(dist + entry)
23-
console.log(source)
2423
if (entry) {
2524
copy(source, api.resolve(dist + entry), function(err, files) {
26-
console.log(files)
2725
if (err) throw err;
2826
// `files` is an array of the files that were copied
2927
console.log(chalk.yellow(`模块${entry}创建成功!`))

0 commit comments

Comments
 (0)