Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Commit

Permalink
add comment for hacky stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziya SARIKAYA committed Oct 19, 2016
1 parent 6dfad4f commit dddeefd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/consulr.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class Consulr extends EventEmitter {
let lastIndex = parseInt(metadata.LastIndex);
if (lastIndex === this.waitIndex) {
if(this.config.fireInternalEvents === true){
//I know this a bit hacky (:
this.emit('int:nochange');
}
return;
Expand Down

0 comments on commit dddeefd

Please sign in to comment.