mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-18 12:11:36 +00:00
Leave default case without brackets
This commit is contained in:
parent
dc79834f77
commit
dd861404e2
@ -199,12 +199,11 @@ class UDPTracker extends Tracker {
|
||||
|
||||
break
|
||||
}
|
||||
default: {
|
||||
default:
|
||||
onError(new Error('tracker sent invalid action'))
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function send (message) {
|
||||
if (!parsedUrl.port) {
|
||||
|
Loading…
Reference in New Issue
Block a user