From ae9b17e94d2569bb50d356cc7a21f00525fd1be8 Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Sat, 2 Jun 2018 22:31:09 +0900 Subject: [PATCH] fix procedure syntax --- src/main/scala/com/typesafe/sbt/git/GitRunner.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/typesafe/sbt/git/GitRunner.scala b/src/main/scala/com/typesafe/sbt/git/GitRunner.scala index b6168f3..b07a116 100644 --- a/src/main/scala/com/typesafe/sbt/git/GitRunner.scala +++ b/src/main/scala/com/typesafe/sbt/git/GitRunner.scala @@ -9,7 +9,7 @@ trait GitRunner { */ def apply(args: String*)(cwd: File, log: Logger): String /** Commits all local changes and pushes the new commit to a remote repository. */ - def commitAndPush(msg: String, tag: Option[String] = None)(repo: File, log: Logger) { + def commitAndPush(msg: String, tag: Option[String] = None)(repo: File, log: Logger): Unit = { apply("add", ".")(repo, log) apply("commit", "-m", msg, "--allow-empty")(repo, log) for(tagString <- tag) apply("tag", tagString)(repo, log)