Skip to content

Commit 90370c8

Browse files
committed
code: some lint
1 parent 7cb8d21 commit 90370c8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Repository/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Repository {
5656
return multipleFileContentsByPath
5757
}
5858

59-
async createPullRequest({title, body, fileContentsByPath}) {
59+
async createPullRequest({ title, body, fileContentsByPath }) {
6060
// TODO: Create branch, update files
6161
// GET master state when we read files
6262
// https://octokit.github.io/rest.js/#api-Git-createRef

src/utils/errors.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ class AllContributorBotError extends Error {
77

88
class ResourceNotFoundError extends AllContributorBotError {
99
constructor(filepath, fullRepoName) {
10-
super(`File ${filepath} was not found in the repository (${fullRepoName}).`)
10+
super(
11+
`File ${filepath} was not found in the repository (${fullRepoName}).`,
12+
)
1113
this.name = this.constructor.name
1214
}
1315
}

0 commit comments

Comments
 (0)