fixup! Back out assertion that doesn't hold yet

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)?;