Showing 1 of 1 total issue
Function exports
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = robot => {
robot.router.post('/heroku/deploy', (req, res) => {
const channelName = process.env.DEPLOY_CHANNEL || '#random'
const channel = robot.adapter.client.rtm.dataStore.getChannelByName(
channelName