Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Mar 24, 2020
1 parent 525a96c commit cf49f78
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/author.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cf49f78

Please sign in to comment.