Skip to content

Commit

Permalink
빈 칸 대신 을(를) 리턴
Browse files Browse the repository at this point in the history
  • Loading branch information
kimcore committed Jul 21, 2020
1 parent 1efa40b commit 62f6e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/github/kimcore/josa/Josa.kt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ object Josa {
fun get(s: String, format: String): String {
if (!formats.containsKey(format)) throw UnknownFormatException()
val value = replace(s)
if (value.isBlank()) return ""
if (value.isBlank()) return "을(를)"
return formats.getValue(format)(value)
}

Expand Down

0 comments on commit 62f6e63

Please sign in to comment.