When using saw get --rawString, it prints double line endings
if original log messages already contains a line ending on its own.
Since we're using Println to output messages, it adds additional
line ending anyway, so we'd better trim line ending from log message
(if any) to get more compact output when using --rawString.
When using
saw get --rawString
, it prints double line endings if original log messages already contains a line ending on its own. Since we're usingPrintln
to output messages, it adds additional line ending anyway, so we'd better trim line ending from log message (if any) to get more compact output when using--rawString
.Similar change was made to
saw watch --raw
in https://github.com/TylerBrock/saw/pull/20