fixup! Back out assertion that doesn't hold yet
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run

This commit is contained in:
Johannes Altmanninger 2024-10-09 21:35:41 +02:00
parent c5db7565cc
commit 88e749e4ce

View File

@ -363,7 +363,7 @@ fn decode_item_fish_2_0(mut data: &[u8]) -> Option<HistoryItem> {
let line = trim_start(line);
// Check this early *before* anything else.
if !line.starts_with(b"- cmd") {
return;
return None;
}
let (_key, value) = extract_prefix_and_unescape_yaml(line)?;