Leave default case without brackets

This commit is contained in:
Diego Rodríguez Baquero 2018-12-20 15:03:15 -05:00 committed by GitHub
parent dc79834f77
commit dd861404e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,12 +199,11 @@ class UDPTracker extends Tracker {
break break
} }
default: { default:
onError(new Error('tracker sent invalid action')) onError(new Error('tracker sent invalid action'))
break break
} }
} }
}
function send (message) { function send (message) {
if (!parsedUrl.port) { if (!parsedUrl.port) {