Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "xtoolkit", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"bin":"bin/xtoolkit.js", | ||
@@ -5,0 +5,0 @@ "description": "a toolkit for creating toolkit", |
@@ -26,2 +26,8 @@ /** | ||
} | ||
let originLog=console.log; | ||
let location=this.location; | ||
console.log(process.argv); | ||
console.log=function(...args){ | ||
originLog.apply(console,args.map(s=>s.replace(new RegExp(location,'g'),'weex '+this.command))) | ||
} | ||
require(path); | ||
@@ -28,0 +34,0 @@ }, function (err) { |
11200
346