From 50e81d8e89b26742e9c29cd64d06435f32327438 Mon Sep 17 00:00:00 2001 From: Michael Lieberman Date: Sun, 3 Mar 2024 21:15:42 +0000 Subject: [PATCH] Fix bug in getting source bundle Left in type as just the default readme type instead of the actual type of the source bundle --- skootrs-lib/src/service/project.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skootrs-lib/src/service/project.rs b/skootrs-lib/src/service/project.rs index 4d6e6f8..dffb1d3 100644 --- a/skootrs-lib/src/service/project.rs +++ b/skootrs-lib/src/service/project.rs @@ -207,7 +207,7 @@ where .collect::>(); Ok(InitializedFacet::SourceBundle( skootrs_model::skootrs::facet::SourceBundleFacet { - facet_type: skootrs_model::skootrs::facet::SupportedFacetType::Readme, + facet_type: s.facet_type.clone(), source_files: None, source_files_content: Some(source_files_content_map), },