Browse Source

Fix edge case in CLI eval.

Kestrel 6 months ago
parent
commit
8a4e9f2fb4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      microrm/src/cli/eval.rs

+ 1 - 1
microrm/src/cli/eval.rs

@@ -226,7 +226,7 @@ impl<'l, Error: CLIError, OE: Entity> Attacher<'l, Error, OE> {
                         .iter()
                         .cloned()
                         .reduce(|a, b| format!("{},{}", a, b))
-                        .unwrap()
+                        .unwrap_or_default()
                         .to_string(),
                 ));
             },