cosntruct: Elide empty string append in console recording.

This commit is contained in:
Jason Volk 2023-02-15 13:33:46 -08:00
parent 499bec0a1a
commit affd1f2913
1 changed files with 3 additions and 0 deletions

View File

@ -348,6 +348,9 @@ construct::console::handle_line_bymodule()
append(*record_fd, string_view(cmdline));
}
if(empty(str))
return;
append(*record_fd, str);
}