fixing comment style

This commit is contained in:
Michael Waddell
2022-02-09 13:45:29 -06:00
parent 4d237c6cf0
commit 9967bee0ba

View File

@@ -15,7 +15,7 @@ export function parse (commitMessage: string, branchName: string, mainBranch: st
if (yamlFragment?.groups && branchName.startsWith('dependabot')) {
const data = YAML.parse(yamlFragment.groups.dependencies)
# Since we are on the `dependabot` branch (9 letters), the 10th letter in the branch name is the delimiter
// Since we are on the `dependabot` branch (9 letters), the 10th letter in the branch name is the delimiter
const delim = branchName[10]
const chunks = branchName.split(delim)
const dirname = chunks.slice(2, -1).join(delim) || '/'