+5
-1
compiler-core/src/config.rs
+5
-1
compiler-core/src/config.rs
···
827
827
}
828
828
Repository::Gitea {
829
829
repo, user, host, ..
830
-
} => Some(format!("{host}/{user}/{repo}")),
830
+
} => {
831
+
let string_host = host.to_string();
832
+
let cleaned_host = string_host.trim_end_matches('/');
833
+
Some(format!("{cleaned_host}/{user}/{repo}"))
834
+
}
831
835
Repository::Custom { url } => Some(url.clone()),
832
836
Repository::None => None,
833
837
}