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

Commit d506b54

Browse files
Juanjo Alvarezjuanjux
Juanjo Alvarez
authored andcommittedJan 31, 2019
Fix type (thanks travis)
Signed-off-by: Juanjo Alvarez <[email protected]>
1 parent d1746ba commit d506b54

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎uast/transformer/semantic.go

-2
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@ func (c *commentElems) isTab(r rune) bool {
163163
func (c *commentElems) Split(text string) bool {
164164
if c.DoTrim {
165165
text = strings.TrimLeftFunc(text, unicode.IsSpace)
166-
return unicode.IsSpace(r)
167-
})
168166
}
169167

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

0 commit comments

Comments
 (0)
This repository has been archived.