From cf49f78e761291fca2a94896a46ab184b819c085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Belin?= Date: Tue, 24 Mar 2020 11:08:59 +0100 Subject: [PATCH] Code formatting --- lib/author.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/author.js b/lib/author.js index b8a1b97d..4631899e 100644 --- a/lib/author.js +++ b/lib/author.js @@ -34,10 +34,7 @@ export class Author { */ toJSON() { /* eslint-disable @typescript-eslint/camelcase */ - const map = { - user_agent: this.userAgent, - user_ip: this.ipAddress - }; + const map = { user_agent: this.userAgent, user_ip: this.ipAddress }; if (this.name.length) map.comment_author = this.name; if (this.email.length)