Skip to content

Commit fd3c5ae

Browse files
committed
Return Unit explicitly after file downloading to avoid exception
1 parent 4e63ea8 commit fd3c5ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/scala/app/GistController.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@ trait GistControllerBase extends ControllerBase {
250250
.setTree(revCommit.getTree)
251251
.setOutputStream(response.getOutputStream)
252252
.call()
253+
254+
Unit
253255
}
254256
}
255257

0 commit comments

Comments
 (0)