1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-04-20 06:48:28 +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) || [];