UNPKG

hubot-rainforest

Version:

Hubot plugin that interfaces with Rainforest (https://www.rainforestqa.com/)

9 lines (7 loc) 219 B
Fs = require 'fs' Path = require 'path' module.exports = (robot) -> path = Path.resolve __dirname, 'src' Fs.exists path, (exists) -> if exists robot.loadFile path, file for file in Fs.readdirSync(path)