Skip to content

Commit

Permalink
rename inner callback to not shadow the outer callback
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyej committed Nov 23, 2015
1 parent dfd4ba3 commit 3242045
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/strategy/EnrichIntegrationFromRemoteConfigStrategy.js
Expand Up @@ -105,8 +105,8 @@ EnrichIntegrationFromRemoteConfigStrategy.prototype._resolveDirectoryHref = func
return callback(err);
}

mappings.detect(function(mapping, callback) {
callback(mapping.isDefaultAccountStore);
mappings.detect(function(mapping, detectCallback) {
detectCallback(mapping.isDefaultAccountStore);
}, function(defaultMapping) {
if (defaultMapping) {
var href = defaultMapping.accountStore.href;
Expand Down

0 comments on commit 3242045

Please sign in to comment.