UNPKG

hubot-cah

Version:
9 lines (7 loc) 236 B
fs = require 'fs' path = require 'path' module.exports = (robot, scripts) -> scriptsPath = path.resolve(__dirname, 'src') fs.exists scriptsPath, (exists) -> if exists robot.loadFile(scriptsPath, 'hubot-cah.coffee')