Skip to content

Commit

Permalink
PM-2941: Return Nil without another loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
aakoshh committed May 11, 2021
1 parent 37ec1fd commit 0eeabb9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -53,7 +53,7 @@ object ConfigParser {
case ('_' | '-') :: cs =>
cs match {
case c :: cs => c.toUpper :: loop(cs)
case cs => loop(cs)
case Nil => Nil
}
case c :: cs => c :: loop(cs)
case Nil => Nil
Expand Down

0 comments on commit 0eeabb9

Please sign in to comment.