Skip to content

Commit

Permalink
Merge pull request #276 from dependabot/mattt/fix-linter-warnings
Browse files Browse the repository at this point in the history
Fix object-shorthand linter warnings
  • Loading branch information
mattt committed Nov 1, 2022
2 parents 7503c61 + e99f596 commit 308b50c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/dependabot/update_metadata.ts
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/dependabot/util.ts
Expand Up @@ -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 {
Expand Down

0 comments on commit 308b50c

Please sign in to comment.