blob: 2c361e740ac1ec17a795620723400fb1b98b3821 [file] [log] [blame]
const got = require('got');
const WAKEUP_URL = 'https://apache-incubator-echarts-bot-1.glitch.me/probot';
(async function() {
const { body } = await got(WAKEUP_URL);
if (body.indexOf('Welcome to') === -1) {
throw new Error('bot may not be working.');
}
console.log('bot is now working.');
})();