Skip to content

Commit 305f32d

Browse files
committed
Fix unreachable code. Closes #87 and #86
1 parent 68cfee5 commit 305f32d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Utils.coffee

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class Utils
3737
# @return [String] A trimmed string
3838
#
3939
@trim: (str, _char = '\\s') ->
40-
return str.trim()
4140
regexLeft = @REGEX_LEFT_TRIM_BY_CHAR[_char]
4241
unless regexLeft?
4342
@REGEX_LEFT_TRIM_BY_CHAR[_char] = regexLeft = new RegExp '^'+_char+''+_char+'*'

0 commit comments

Comments
 (0)