mirror of
https://github.com/dependabot/fetch-metadata.git
synced 2026-03-12 18:07:12 -04:00
Fix object-shorthand linter warnings
This commit is contained in:
@@ -50,7 +50,7 @@ export async function parse (commitMessage: string, branchName: string, mainBran
|
||||
return {
|
||||
dependencyName: dependency['dependency-name'],
|
||||
dependencyType: dependency['dependency-type'],
|
||||
updateType: updateType,
|
||||
updateType,
|
||||
directory: dirname,
|
||||
packageEcosystem: chunks[1],
|
||||
targetBranch: mainBranch,
|
||||
|
||||
@@ -7,7 +7,7 @@ export function parseNwo (nwo: string): {owner: string; repo: string} {
|
||||
throw new Error(`'${nwo}' does not appear to be a valid repository NWO`)
|
||||
}
|
||||
|
||||
return { owner: owner, repo: name }
|
||||
return { owner, repo: name }
|
||||
}
|
||||
|
||||
export interface branchNames {
|
||||
|
||||
Reference in New Issue
Block a user