Skip to content

Commit

Permalink
chore: remove unused scripts argument
Browse files Browse the repository at this point in the history
The 2nd argument `scripts` was introduced in hubotio/hubot@5b21536
It is meant to only load a subset of the script files that hubot scripts provide. But since there is only one file here, we can safely ignore it
  • Loading branch information
gr2m committed Jun 28, 2017
1 parent 3060d26 commit c0284a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const path = require('path')

module.exports = (robot, scripts) => {
module.exports = (robot) => {
const scriptsPath = path.resolve(__dirname, 'src')
robot.loadFile(scriptsPath, 'help.js')
}

0 comments on commit c0284a3

Please sign in to comment.