node: fix whitespace in generated comments
This commit is contained in:
parent
ae04fa73ef
commit
fe654d70cc
2
node.go
2
node.go
@ -98,7 +98,7 @@ func normaliseCommentStr(s string) string {
|
||||
} else { // len(parts) == 2
|
||||
// Range comment part is OK
|
||||
// Only second middle part needs normalising
|
||||
ret = append(ret, parts[0], normaliseCommentStrFragment(parts[1]))
|
||||
ret = append(ret, `/*`+parts[0]+`*/`, normaliseCommentStrFragment(parts[1]))
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user