From 7d68622d52390bdbe3006f7837e538bff2568fcf Mon Sep 17 00:00:00 2001 From: pplokijuhyg <1162963624@qq.com> Date: Tue, 14 Jan 2020 14:20:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/reptile/binimport.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/reptile/binimport.js b/bin/reptile/binimport.js index 0ceafa0..627d3ba 100644 --- a/bin/reptile/binimport.js +++ b/bin/reptile/binimport.js @@ -4,8 +4,9 @@ let getreptilelist =(dirlist)=>{ let reptilelist = []; // console.log(dirlist) for(let i in dirlist){ + let reptile = require(__dirname + "/" + dirlist[i] +"/config.js" ) - // console.log(reptile) + console.log(reptile) reptilelist.push(reptile) } res(reptilelist)