fix
This commit is contained in:
@@ -20,8 +20,6 @@ apxtri.main = async () => {
|
||||
);
|
||||
process.exit(0);
|
||||
}
|
||||
console.log("rrrrrrrrrrrrrrrrrrr")
|
||||
console.log(path.resolve("../adminapi/objects/tribes/idx/tribes_dns.json"))
|
||||
//Check prerequest data
|
||||
if (
|
||||
fs.existsSync("../adminapi/objects/tribes/idx/tribes_dns.json") &&
|
||||
@@ -41,7 +39,7 @@ apxtri.main = async () => {
|
||||
.forEach(async (t) => {
|
||||
const tribe = path.basename(t);
|
||||
//console.log(tribe);
|
||||
if (!tribesdns[tribe]) {
|
||||
if (![".",".."].includes(tribe) && !tribesdns[tribe]) {
|
||||
await apxtri.setuptribe(tribe, conf);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user