mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 03:55:58 +01:00
fix return value
This commit is contained in:
@@ -298,7 +298,7 @@ trait RepositoryViewerControllerBase extends ControllerBase {
|
|||||||
contentType = "application/octet-stream"
|
contentType = "application/octet-stream"
|
||||||
response.setContentLength(loader.getSize.toInt)
|
response.setContentLength(loader.getSize.toInt)
|
||||||
loader.copyTo(response.getOutputStream)
|
loader.copyTo(response.getOutputStream)
|
||||||
Unit
|
()
|
||||||
} getOrElse NotFound
|
} getOrElse NotFound
|
||||||
} else {
|
} else {
|
||||||
html.blob(id, repository, path.split("/").toList,
|
html.blob(id, repository, path.split("/").toList,
|
||||||
|
|||||||
Reference in New Issue
Block a user