This commit is contained in:
pplokijuhyg 2020-01-14 14:20:52 +08:00
parent 4c89c26945
commit 7d68622d52

View File

@ -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)