update
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7b084039e9
commit
212cb0201e
|
@ -83,7 +83,6 @@ const main = async () => {
|
||||||
})
|
})
|
||||||
)).flat(Infinity))].filter(Boolean) as any).sort((a: number, b: number) => a - b);
|
)).flat(Infinity))].filter(Boolean) as any).sort((a: number, b: number) => a - b);
|
||||||
|
|
||||||
console.log(JSON.stringify(members), JSON.stringify(await bgpq4(asSetName)));
|
|
||||||
if (JSON.stringify(members) === JSON.stringify(await bgpq4(asSetName))) {
|
if (JSON.stringify(members) === JSON.stringify(await bgpq4(asSetName))) {
|
||||||
console.log(`[INFO] AS-SET <${asSetName}> is not changed.`);
|
console.log(`[INFO] AS-SET <${asSetName}> is not changed.`);
|
||||||
isChanged = false;
|
isChanged = false;
|
||||||
|
@ -116,8 +115,7 @@ const main = async () => {
|
||||||
asSets.map(
|
asSets.map(
|
||||||
async (k) => {
|
async (k) => {
|
||||||
if (!k.isChanged) return "";
|
if (!k.isChanged) return "";
|
||||||
return `
|
return `as-set: ${k["AS-SET"]}
|
||||||
as-set: ${k["AS-SET"]}
|
|
||||||
${k["MNT-BY"].map((k) => `mnt-by: ${k}`).join("\n")}
|
${k["MNT-BY"].map((k) => `mnt-by: ${k}`).join("\n")}
|
||||||
${k["TECH-C"].map((k) => `tech-c: ${k}`).join("\n")}
|
${k["TECH-C"].map((k) => `tech-c: ${k}`).join("\n")}
|
||||||
${k["ADMIN-C"].map((k) => `admin-c: ${k}`).join("\n")}
|
${k["ADMIN-C"].map((k) => `admin-c: ${k}`).join("\n")}
|
||||||
|
|
Loading…
Reference in New Issue