Skip to content

Commit 3dd1343

Browse files
authored
Merge pull request #153 from xuwei-k/procedure-syntax
fix procedure syntax
2 parents 300645d + ae9b17e commit 3dd1343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/typesafe/sbt/git/GitRunner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ trait GitRunner {
99
*/
1010
def apply(args: String*)(cwd: File, log: Logger): String
1111
/** Commits all local changes and pushes the new commit to a remote repository. */
12-
def commitAndPush(msg: String, tag: Option[String] = None)(repo: File, log: Logger) {
12+
def commitAndPush(msg: String, tag: Option[String] = None)(repo: File, log: Logger): Unit = {
1313
apply("add", ".")(repo, log)
1414
apply("commit", "-m", msg, "--allow-empty")(repo, log)
1515
for(tagString <- tag) apply("tag", tagString)(repo, log)

0 commit comments

Comments
 (0)