diff options
Diffstat (limited to 'gen/src/gen_renderers_file.rs')
| -rw-r--r-- | gen/src/gen_renderers_file.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gen/src/gen_renderers_file.rs b/gen/src/gen_renderers_file.rs index 7ac1853..353db71 100644 --- a/gen/src/gen_renderers_file.rs +++ b/gen/src/gen_renderers_file.rs @@ -1,4 +1,4 @@ -use std::path::PathBuf; +use std::path::Path; use just_template::{Template, tmpl}; @@ -7,7 +7,7 @@ use crate::constants::{ }; /// Generate renderer list file from Registry.toml configuration using just_template -pub async fn generate_renderers_file(repo_root: &PathBuf) { +pub async fn generate_renderers_file(repo_root: &Path) { let template_path = repo_root.join(OVERRIDE_RENDERER_DISPATCHER_TEMPLATE); let output_path = repo_root.join(OVERRIDE_RENDERER_DISPATCHER); let config_path = repo_root.join(REGISTRY_TOML); |
