From 7e9e9b11b3b55fc75fbc073f28a14c5d1910c491 Mon Sep 17 00:00:00 2001 From: GochoMugo Date: Thu, 21 Dec 2017 12:45:34 +0300 Subject: [PATCH] test: Fix previously-uncaught lint errors --- examples/polling.js | 4 ++-- examples/webhook/https.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/polling.js b/examples/polling.js index a086f7e..13f4cab 100644 --- a/examples/polling.js +++ b/examples/polling.js @@ -62,8 +62,8 @@ bot.onText(/\/editable/, function onEditableText(msg) { [ { text: 'Edit Text', - // we shall check for this value when we listen - // for "callback_query" + // we shall check for this value when we listen + // for "callback_query" callback_data: 'edit' } ] diff --git a/examples/webhook/https.js b/examples/webhook/https.js index f0bc974..418c648 100644 --- a/examples/webhook/https.js +++ b/examples/webhook/https.js @@ -9,8 +9,8 @@ const TelegramBot = require('../..'); const options = { webHook: { port: 443, - key: `${__dirname}/../ssl/key.pem`, // Path to file with PEM private key - cert: `${__dirname}/../ssl/crt.pem` // Path to file with PEM certificate + key: `${__dirname}/../ssl/key.pem`, // Path to file with PEM private key + cert: `${__dirname}/../ssl/crt.pem` // Path to file with PEM certificate } }; // This URL must route to the port set above (i.e. 443)