diff --git a/scripts/dns.js b/scripts/dns.js index e948ae4..6ead137 100644 --- a/scripts/dns.js +++ b/scripts/dns.js @@ -6,21 +6,6 @@ var proxy = { on: { cloudflare_proxy: "on" } }; -/** - * Note: glob() is only an internal undocumented helper function (maybe risky). - * - * @param { String } filesPath - * @returns {{ - * name: string, - * data: { - * domain: string, - * subdomain: string, - * owner?: { email?: string }, - * records: { A?: string[], AAAA?: string[], CNAME?: string, MX?: object[], TXT?: object[] }, - * proxied: boolean - * }}[]} - */ - function getDomainsList(filesPath) { var result = []; var files = glob.apply(null, [filesPath, true, ".json"]); @@ -37,10 +22,6 @@ function getDomainsList(filesPath) { var domains = getDomainsList("../domains"); -/** - * @type {{}} - */ - var commit = {}; for (var idx in domains) {