alessioalex / dynroute

Node CLI tool for dynamic DNS using Route53
46 stars 5 forks source link

Erroring when running with -dbg #9

Open bennysp opened 10 years ago

bennysp commented 10 years ago

If I turn dbg option on, I get the below error. Without the debug option, everything works fine.

shell> dynroute -d some.domain.com -o -dbg

/volume1/@appstore/node/lib/node_modules/dynroute/dynroute.js:109 if (domain.indexOf(zone.name) > -1) { ^ TypeError: Object true has no method 'indexOf' at updateDns.zoneId (/volume1/@appstore/node/lib/node_modules/dynroute/dynroute.js:109:26) at Array.forEach (native) at iterate (/volume1/@appstore/node/lib/node_modules/dynroute/dynroute.js:108:25) at hostedZones.forEach.rootZone (/volume1/@appstore/node/lib/node_modules/dynroute/dynroute.js:99:15) at process._tickCallback (node.js:415:13)

alessioalex commented 10 years ago

thanks for reporting this @bennysp I'll take a look over it later today