From 6deb1f2ba4f6a18889ec41f38359d787989a1124 Mon Sep 17 00:00:00 2001 From: Andrey Zgarbul Date: Mon, 29 Apr 2024 17:57:37 +0300 Subject: [PATCH] remove used _include --- src/patch/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/patch/mod.rs b/src/patch/mod.rs index 639f1d85..b4a3a4dd 100644 --- a/src/patch/mod.rs +++ b/src/patch/mod.rs @@ -196,6 +196,7 @@ pub fn yaml_includes(parent: &mut Hash) -> Result> { included.extend(yaml_includes(child)?); update_dict(parent, child)?; } + parent.remove(&"_include".to_yaml()); Ok(included) }