Commit b00cf7d1 authored by 智勇's avatar 智勇

fix

parent f65cba7a
...@@ -102,7 +102,7 @@ const webhooks = async function (ctx) { ...@@ -102,7 +102,7 @@ const webhooks = async function (ctx) {
} }
const gitUser = req.user_username const gitUser = req.user_username
const commitMes = req.commits[req.commits - 1].message const commitMes = req.commits[req.commits.length - 1].message
// const project = await ProConfig.getOneProject({ project_name: projectName }) // const project = await ProConfig.getOneProject({ project_name: projectName })
// if (project.sonar) { // if (project.sonar) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment