Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
Fix type (thanks travis)
Browse files Browse the repository at this point in the history
Signed-off-by: Juanjo Alvarez <[email protected]>
  • Loading branch information
Juanjo Alvarez authored and juanjux committed Jan 31, 2019
1 parent d1746ba commit d506b54
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions uast/transformer/semantic.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ func (c *commentElems) isTab(r rune) bool {
func (c *commentElems) Split(text string) bool {
if c.DoTrim {
text = strings.TrimLeftFunc(text, unicode.IsSpace)
return unicode.IsSpace(r)
})
}

if !strings.HasPrefix(text, c.StartToken) || !strings.HasSuffix(text, c.EndToken) {
Expand Down

0 comments on commit d506b54

Please sign in to comment.