mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-10 09:12:47 +08:00
BUGFIX: Add missing var statements at loop initialization (#2436)
This commit is contained in:
parent
bd81bb36a3
commit
354063cc09
1 changed files with 3 additions and 3 deletions
|
@ -1794,7 +1794,7 @@ function DKIM(arr) {
|
|||
function require_glob() {
|
||||
arguments[2] = 'js'; // force to only include .js files.
|
||||
var files = glob.apply(null, arguments);
|
||||
for (i = 0; i < files.length; i++) {
|
||||
for (var i = 0; i < files.length; i++) {
|
||||
require(files[i]);
|
||||
}
|
||||
return files;
|
||||
|
@ -1824,7 +1824,7 @@ function DOMAIN_ELSEWHERE(domain, registrar, nslist) {
|
|||
// NB(tlim): NO_PURGE is added as a precaution since something else
|
||||
// is maintaining the DNS records in that zone. In theory this is
|
||||
// not needed since this domain won't have a DSP defined.
|
||||
for (i = 0; i < nslist.length; i++) {
|
||||
for (var i = 0; i < nslist.length; i++) {
|
||||
D_EXTEND(domain, NAMESERVER(nslist[i]));
|
||||
}
|
||||
}
|
||||
|
@ -1837,7 +1837,7 @@ function DOMAIN_ELSEWHERE_AUTO(domain, registrar, dsplist) {
|
|||
// NB(tlim): NO_PURGE is required since something else
|
||||
// is maintaining the DNS records in that zone, and we have access
|
||||
// to updating it (but we don't want to use it.)
|
||||
for (i = 2; i < arguments.length; i++) {
|
||||
for (var i = 2; i < arguments.length; i++) {
|
||||
D_EXTEND(domain, DnsProvider(arguments[i]));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue