mirror of
https://github.com/dependabot/fetch-metadata.git
synced 2026-03-13 18:17:13 -04:00
linting
This commit is contained in:
@@ -16,7 +16,7 @@ export function parse (commitMessage: string, branchName: string, mainBranch: st
|
||||
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
|
||||
const delim = branchName[10]
|
||||
const delim = branchName[10]
|
||||
const chunks = branchName.split(delim)
|
||||
const dirname = chunks.slice(2, -1).join(delim) || '/'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user