| Index: lib/tldjs.js |
| diff --git a/lib/tldjs.js b/lib/tldjs.js |
| index c354375b2fb223fc83c4472f642d4802a2b3d1b5..a56a1f412283822bc58f0e67695465432966954f 100644 |
| --- a/lib/tldjs.js |
| +++ b/lib/tldjs.js |
| @@ -24,7 +24,7 @@ let getDomain = |
| * @param {string} hostname |
| * @return {string} |
| */ |
| -exports.getDomain = function(hostname) |
| +exports.getDomain = hostname => |
| { |
| let bits = hostname.split("."); |
| let cutoff = bits.length - 2; |