From cfadcb63c65520881c4d7801b955b2fdf0f7e137 Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Wed, 3 May 2017 12:13:19 -0500 Subject: [PATCH] Tweaks --- bin/probot-simulate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/probot-simulate b/bin/probot-simulate index aa539042..019408bf 100755 --- a/bin/probot-simulate +++ b/bin/probot-simulate @@ -11,7 +11,7 @@ const payloadPath = process.argv[3]; const pluginPath = process.argv[4]; if(!eventName || !payloadPath) { - console.log("Usage: script/simulate event-name path/to/payload.json"); + console.log('Usage: bin/probot-simulate event-name path/to/payload.json'); process.exit(1); } @@ -30,5 +30,5 @@ const probot = createProbot({ const plugins = require('../lib/plugin')(probot); plugins.load([pluginPath]); -console.log("Simulating event", eventName); +probot.robot.log('Simulating event', eventName); probot.robot.webhook.emit(eventName, {event: eventName, payload});