style: split comment to two lines

This commit is contained in:
Mahdi Dibaiee 2018-04-20 16:03:42 +04:30
parent 66a4b09288
commit 5b7c636aed
2 changed files with 3 additions and 2 deletions

View File

@ -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": {

View File

@ -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);
}