Skip to content

Commit

Permalink
Leave default case without brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoRBaquero authored Dec 20, 2018
1 parent dc79834 commit dd86140
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/client/udp-tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,9 @@ class UDPTracker extends Tracker {

break
}
default: {
default:
onError(new Error('tracker sent invalid action'))
break
}
}
}

Expand Down

0 comments on commit dd86140

Please sign in to comment.