Don't add newline to error

Instead, add it to the message printed containing the error.
This commit is contained in:
Mark Stemm
2019-07-03 17:14:36 -07:00
parent 2fef3f3dd5
commit 23e28e32c2
2 changed files with 2 additions and 2 deletions

View File

@@ -227,7 +227,7 @@ std::string falco_rules::get_context(const std::string &content, uint64_t lineno
{
ret += " ";
}
ret += "^\n";
ret += "^";
return ret;
}