node: fix whitespace in generated comments

This commit is contained in:
mappu 2020-04-16 18:37:27 +12:00
parent ae04fa73ef
commit fe654d70cc
1 changed files with 2 additions and 2 deletions

View File

@ -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]))
}
}