remove semicolons

This commit is contained in:
xuwei-k
2021-08-09 16:12:41 +09:00
parent 39c9fc4261
commit 5932fce303
2 changed files with 4 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ trait ApiIssueLabelControllerBase extends ControllerBase {
*/
post("/api/v3/repos/:owner/:repository/issues/:id/labels")(writableUsersOnly { repository =>
JsonFormat(for {
data <- extractFromJsonBody[Seq[String]];
data <- extractFromJsonBody[Seq[String]]
issueId <- params("id").toIntOpt
} yield {
data.map { labelName =>
@@ -160,7 +160,7 @@ trait ApiIssueLabelControllerBase extends ControllerBase {
*/
put("/api/v3/repos/:owner/:repository/issues/:id/labels")(writableUsersOnly { repository =>
JsonFormat(for {
data <- extractFromJsonBody[Seq[String]];
data <- extractFromJsonBody[Seq[String]]
issueId <- params("id").toIntOpt
} yield {
deleteAllIssueLabels(repository.owner, repository.name, issueId, true)

View File

@@ -150,7 +150,7 @@ class ApiIntegrationTest extends AnyFunSuite {
.content("create")
.message("Create content")
.path("README.md")
.commit();
.commit()
assert(createResult.getContent.isFile == true)
assert(IOUtils.toString(createResult.getContent.read(), "UTF-8") == "create")
@@ -168,7 +168,7 @@ class ApiIntegrationTest extends AnyFunSuite {
.message("Update content")
.path("README.md")
.sha(content1.getSha)
.commit();
.commit()
assert(updateResult.getContent.isFile == true)
assert(IOUtils.toString(updateResult.getContent.read(), "UTF-8") == "update")