From 5b7c636aedead61b6d8d4832b72665eef08bd8d6 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Fri, 20 Apr 2018 16:03:42 +0430 Subject: [PATCH] style: split comment to two lines --- package.json | 2 +- src/functions/api.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d2a4541..23ee6b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "telegram-api", - "version": "4.0.0", + "version": "4.1.0", "description": "Control Telegram bots easily using the new Telegram API", "main": "build/index.js", "scripts": { diff --git a/src/functions/api.js b/src/functions/api.js index 4ca5ee4..55cd52b 100644 --- a/src/functions/api.js +++ b/src/functions/api.js @@ -66,7 +66,8 @@ const methods = ['getMe', 'sendMessage', 'forwardMessage', 'sendPhoto', methods.forEach(method => { API.prototype[method] = function (data) { //eslint-disable-line if (method === 'getUpdates') { - // don't add 'getUpdates' request to the queue as it's going to hinder 'send*' calls performance + // don't add 'getUpdates' request to the queue as it's going to + // hinder 'send*' calls performance return this.request(method, data); }