Add newline in sync error message (#3603)

This commit is contained in:
Dustin J. Mitchell
2024-10-03 18:32:13 -04:00
committed by GitHub
parent ff2b1cb888
commit 28628e5dca

View File

@@ -226,7 +226,7 @@ void TDB2::get_changes(std::vector<Task>& changes) {
void TDB2::revert() {
rust::Vec<tc::Operation> undo_ops = replica()->get_undo_operations();
if (undo_ops.size() == 0) {
std::cout << "No operations to undo.";
std::cout << "No operations to undo.\n";
return;
}
if (confirm_revert(undo_ops)) {