change const to let

This commit is contained in:
zhengqingxin 2017-03-29 17:19:38 +08:00
parent f16d4aa5dd
commit 1fcc70fc0f

View File

@ -44,7 +44,7 @@ module.exports = class Application {
* watcher callback
*/
_watcherCallBack(fileInfo){
const transpiler = this.options.transpiler;
let transpiler = this.options.transpiler;
if(transpiler){
if(!helper.isArray(transpiler)){
transpiler = [transpiler];