Skip to content

Commit ba534aa

Browse files
committed
update
1 parent 0642502 commit ba534aa

File tree

9 files changed

+21
-573
lines changed

9 files changed

+21
-573
lines changed

src/check.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/configManager.js

Lines changed: 0 additions & 201 deletions
This file was deleted.

src/copier.js

Lines changed: 0 additions & 78 deletions
This file was deleted.

src/FileOperator.js renamed to src/fileOperator.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ var util = require('./util');
1111
var tplParser = require('./tplParser');
1212

1313
function FileOperator() {
14-
/*
14+
/**
1515
* 创建path的容器
1616
* @type {Object}
1717
*/
1818
this.container = {};
1919
}
2020

2121
FileOperator.prototype = {
22-
/*
22+
/**
2323
* 生成单个文件
2424
* @param {string} filePath 写入目标文件路径
2525
* @param {string} tpl 模板文件路径
@@ -56,7 +56,7 @@ FileOperator.prototype = {
5656
});
5757
});
5858
},
59-
/*
59+
/**
6060
* 读取一个文件,以数组的形式返回,文件中的每一行为数组的一项
6161
* @param {string} filePath 文件路径
6262
* @param {Function} callback 回调函数
@@ -75,7 +75,7 @@ FileOperator.prototype = {
7575
callback(null, arr);
7676
});
7777
},
78-
/*
78+
/**
7979
* 确保创建了相应的目录
8080
* @param {string} dir
8181
* @param {Function} callback
@@ -91,7 +91,7 @@ FileOperator.prototype = {
9191
}
9292
});
9393
},
94-
/*
94+
/**
9595
* 确保创建了相应的文件
9696
* @param {string} dir
9797
* @param {Function} callback

0 commit comments

Comments
 (0)