Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
FsDropbox.prototype.configure = function(config, next) {
this.log("FsDropbox.configure(): config:", config);
this.parseProxy(config);
if (this.httpAgent) {
dropbox.Xhr.Request.nodejsSet({httpAgent: this.httpAgent});
}
if (this.httpsAgent) {
dropbox.Xhr.Request.nodejsSet({httpsAgent: this.httpsAgent});
}
if (next) {
next();
}
};