mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 21:15:49 +01:00
(refs #445)Fix yen to backslash
This commit is contained in:
@@ -102,7 +102,7 @@ object JGitUtil {
|
||||
/**
|
||||
* the line separator of this content ("LF" or "CRLF")
|
||||
*/
|
||||
val lineSeparator: String = if(content.exists(_.indexOf("¥r¥n") >= 0)) "CRLF" else "LF"
|
||||
val lineSeparator: String = if(content.exists(_.indexOf("\r\n") >= 0)) "CRLF" else "LF"
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user