This commit is contained in:
phips28 2019-10-27 01:39:54 +02:00
parent 20091815db
commit 885d2b6c0b
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ const { execSync } = require('child_process')
Toolkit.run(async tools => { Toolkit.run(async tools => {
const pkg = tools.getPackageJSON() const pkg = tools.getPackageJSON()
const event = tools.context.payload const event = tools.context.payload
console.log('payload:', event) // console.log('payload:', event)
const messages = event.commits.map(commit => commit.message + '\n' + commit.body) const messages = event.commits.map(commit => commit.message + '\n' + commit.body)