From 6887287c296ae44c0d36aacad564bdaa73e14954 Mon Sep 17 00:00:00 2001 From: Sebastian Moser Date: Sat, 8 Jun 2024 15:06:32 +0200 Subject: [PATCH] fixed bug, where if no --config was present, 0/config would not exist --- src/core/item.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/item.rs b/src/core/item.rs index 99e080c..1661456 100644 --- a/src/core/item.rs +++ b/src/core/item.rs @@ -225,6 +225,10 @@ fn item_data_merge(merge_into: &mut CborValue, other: &CborValue){ } } + // if other is Null, don't asign + // this is gonna have repercussions.... because it's not clean behaviour + (merge_into, CborValue::Null) => { + } // in any other case we just want to set merge_into to other // also this is the base case