Skip to content

Commit

Permalink
fixup! style: add switch-final-break rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Ranna committed Aug 26, 2019
1 parent e98de8f commit 85bf023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/p2p/NodeList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class NodeList extends EventEmitter {
node.reputationScore = reputationEventWeight[event];
break;
}
default: node.reputationScore += reputationEventWeight[event];
default: node.reputationScore += reputationEventWeight[event]; break;
}
}

Expand Down

0 comments on commit 85bf023

Please sign in to comment.