ketan-clabot
Version:
A bot to take the pain out of Contributor License Agreements
26 lines (19 loc) • 420 B
JavaScript
(function() {
'use strict';
var fs, github, path, _;
fs = require('fs');
path = require('path');
_ = require('lodash');
github = require('github');
exports.set = function(token, msg, callback) {
var api;
api = new github({
version: '3.0.0'
});
api.authenticate({
type: 'oauth',
token: token
});
return api.statuses.create(msg, callback);
};
}).call(this);