Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
fixes linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
colestrode committed Jun 19, 2017
1 parent c5d0fa1 commit aeb1b02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/CoreBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ function Botkit(configuration) {
}

if (typeof(events) == 'string') {
events = events.split(/\,/g).map(function(str) { return str.trim() })
events = events.split(/\,/g).map(function(str) { return str.trim(); });
}

for (var e = 0; e < events.length; e++) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Slack_web_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ module.exports = function(bot, config) {

request.post(params, function(error, response, body) {
bot.debug('Got response', error, body);
if(response.statusCode == 429) {
if (response.statusCode == 429) {
return cb(new Error('Rate limit exceeded'));
}
if (!error && response.statusCode == 200) {
Expand Down

0 comments on commit aeb1b02

Please sign in to comment.