When pulling our cluster, met a error where some new lines were not correctly parsed. This PR will fix this issue.
Reproduce:
This function with '/r' line ending will cause problem.
.create-or-alter function with (folder="hwtest", docstring="Simple demo function", skipvalidation=true) ['hwtestFunction'] ()
{ // test comment
event | where timestamp between (start..end) // test comment2
| take 1
}
When pulling our cluster, met a error where some new lines were not correctly parsed. This PR will fix this issue.
Reproduce: This function with '/r' line ending will cause problem.