From 0b08c655caac8518ed653006c4b582ca48d34f88 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), },