Skip to content

Commit

Permalink
fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
grantjbutler committed Jan 9, 2014
1 parent 3a29b26 commit a533e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/twitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var tweetRegex = /(http(s)?:\/\/)?(www.)?twitter\.com\/(?:#!\/)?(\w+)\/status(es
createdAt = moment(data.created_at).format('llll');

data.entities.urls.forEach(function(urlInfo) {
text = substrReplace(text, urlInfo.expanded_url, urlInfo.indices[0], urlInfo.indices[1]);
text = substrReplace(text, urlInfo.expanded_url, urlInfo.indices[0], urlInfo.indices[1]);
});

bot.reply(to, nick, util.format(response, data.user.screen_name, text, createdAt));
Expand Down

0 comments on commit a533e21

Please sign in to comment.