mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-09 15:05:50 +01:00
Small cleanup using static analysis
This commit is contained in:
@@ -14,7 +14,7 @@ object SshUtil {
|
||||
// TODO RFC 4716 Public Key is not supported...
|
||||
val parts = key.split(" ")
|
||||
if (parts.size < 2) {
|
||||
logger.debug(s"Invalid PublicKey Format: key")
|
||||
logger.debug(s"Invalid PublicKey Format: ${key}")
|
||||
return None
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user