Skip to content

Commit

Permalink
Address Ben's PR feedback; give return its own line
Browse files Browse the repository at this point in the history
  • Loading branch information
jwolski committed Nov 25, 2015
1 parent 18f7d1b commit a7a382c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/gossip/damper.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,9 @@ Damper.prototype._fanoutDampReqs = function _fanoutDampReqs(flapperAddrs, dampRe
self.ringpop.stat('timing', 'protocol.damp-req', timing);

// Prevents double-callback
if (typeof callback !== 'function') return;
if (typeof callback !== 'function') {
return;
}

numPendingReqs--;

Expand Down

0 comments on commit a7a382c

Please sign in to comment.