1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

improve output cleanup

This commit is contained in:
checktheroads
2020-03-22 23:09:40 -07:00
parent d58d90b404
commit ee55f84373

View File

@@ -93,7 +93,7 @@ const Result = React.forwardRef(
data.output
.split("\\n")
.join("\n")
.replace(/\n\n/g, "");
.replace(/\n\n/g, "\n");
const errorKw = (error && error.response?.data?.keywords) || [];