mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
fixup! Back out assertion that doesn't hold yet
This commit is contained in:
parent
c5db7565cc
commit
88e749e4ce
1 changed files with 1 additions and 1 deletions
|
@ -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)?;
|
||||
|
|
Loading…
Reference in a new issue