Skip to content

Commit

Permalink
fixing comment style
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaddell committed Feb 9, 2022
1 parent 4d237c6 commit 9967bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dependabot/update_metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) || '/'
Expand Down

0 comments on commit 9967bee

Please sign in to comment.