Skip to content

Commit 1179a7a

Browse files
committed
Help diagnosing /deploy <package> problem
Still trying to figure out why git-for-windows/build-extra#455 (comment) failed... Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent bc61c92 commit 1179a7a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

GitForWindowsHelper/slash-commands.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ module.exports = async (context, req) => {
77
let commentId = req.body.comment.id
88
let commentURL = req.body.comment.html_url
99

10+
context.log(`Looking at command '${command}' (${typeof command})`)
11+
1012
if (command === '/hi') {
1113
const comment = `Hi @${commenter}!`
1214

@@ -104,6 +106,7 @@ module.exports = async (context, req) => {
104106
}
105107

106108
const deployMatch = command.match(/^\/deploy(\s+(\S+)\s*)?$/)
109+
context.log(deployMatch)
107110
if (deployMatch) {
108111
if (owner !== 'git-for-windows'
109112
|| !req.body.issue.pull_request

0 commit comments

Comments
 (0)