From 79f7b1d81c182bfbcc8298963886390658dda71b Mon Sep 17 00:00:00 2001 From: "J. Emiliano Deustua" Date: Tue, 13 Jun 2023 02:43:06 -0500 Subject: Fix `--delete-it-all` and `--delete` commands (#913) * Add `delete_at` is null condition during search Since entries are searched everytime a delete process ends, the --delete-it-all command will enter an infinite loop if searching the whole history. * Remove command blanking Command blanking may violate the `unique(timestamp, cwd, command)` condition. * Overwrite command with random string when deleting * Add rand dependency to client crate --------- Co-authored-by: Ellie Huxtable --- Cargo.lock | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 7a310c01..c3604b68 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -151,6 +151,7 @@ dependencies = [ "memchr", "minspan", "parse_duration", + "rand", "regex", "reqwest", "rmp-serde", -- cgit v1.3.1