mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-18 14:26:56 +00:00
change const to let
This commit is contained in:
parent
f16d4aa5dd
commit
1fcc70fc0f
@ -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];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user