mirror of
https://github.com/dependabot/fetch-metadata.git
synced 2026-03-13 18:17:13 -04:00
fixing comment style
This commit is contained in:
@@ -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) || '/'
|
||||
|
||||
Reference in New Issue
Block a user