diff --git a/src/commands/from_ssv.rs b/src/commands/from_ssv.rs index a47a8662f..41a611f8c 100644 --- a/src/commands/from_ssv.rs +++ b/src/commands/from_ssv.rs @@ -38,7 +38,7 @@ fn from_ssv_string_to_value( headerless: bool, tag: impl Into, ) -> Option> { - let mut lines = s.lines(); + let mut lines = s.lines().filter(|l| !l.is_empty()); let headers = lines .next()?