Fix for eslint

This commit is contained in:
Shin'ya UEOKA 2019-11-12 03:51:57 +00:00 committed by Shin'ya Ueoka
parent 7905df052f
commit 1062c5b4db
3 changed files with 142 additions and 120 deletions

View file

@ -23,7 +23,7 @@ const isMissingHttp = (keywords: string): boolean => {
try {
let u = new URL('http://' + keywords);
return isLocalhost(u.host)
return isLocalhost(u.host);
} catch (e) {
// fallthrough
}