refactor(config): name the runtime rendering step

This commit is contained in:
Tunglies
2026-12-03 19:42:50 +08:00
parent ca22495869
commit 63000f39f5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -250,7 +250,7 @@ impl Config {
}
pub(crate) async fn generate_with_profiles(profiles: &IProfiles) -> Result<()> {
let (mut config, exists_keys, logs, dns_override) = enhance::enhance(profiles).await?;
let (mut config, exists_keys, logs, dns_override) = enhance::render_runtime_config(profiles).await?;
resolve_provider_path_conflicts(&mut config, &dirs::app_home_dir()?)?;
sanitize_tunnels_proxy(&mut config);
+1 -1
View File
@@ -247,7 +247,7 @@ async fn read_dns_settings(enabled: bool) -> Option<Mapping> {
}
/// Returns the enhanced profile, its original keys, script logs, and DNS override decision.
pub async fn enhance(
pub async fn render_runtime_config(
profiles: &IProfiles,
) -> Result<(Mapping, HashSet<String>, HashMap<String, ResultLog>, DnsOverrideState)> {
let profile_uid = profiles.current.as_deref().unwrap_or_default();