Skip to content

Commit

Permalink
Fix unreachable code. Closes #87 and #86
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyfa committed Apr 20, 2017
1 parent 68cfee5 commit 305f32d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Utils.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class Utils
# @return [String] A trimmed string
#
@trim: (str, _char = '\\s') ->
return str.trim()
regexLeft = @REGEX_LEFT_TRIM_BY_CHAR[_char]
unless regexLeft?
@REGEX_LEFT_TRIM_BY_CHAR[_char] = regexLeft = new RegExp '^'+_char+''+_char+'*'
Expand Down

0 comments on commit 305f32d

Please sign in to comment.