Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert label convert
Browse files Browse the repository at this point in the history
yoks committed Jan 27, 2025
1 parent fc74e54 commit 86bbd1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crate_universe/src/rendering/template_engine.rs
Original file line number Diff line number Diff line change
@@ -288,12 +288,12 @@ fn crate_repository_fn_generator(template: String, repository_name: String) -> i
let name = parse_tera_param!("name", String, args);
let version = parse_tera_param!("version", String, args);

match to_value(&render_crate_bazel_repository(
match to_value(sanitize_repository_name(&render_crate_bazel_repository(
&template,
&repository_name,
&name,
&version,
)) {
))) {
Ok(v) => Ok(v),
Err(_) => Err(tera::Error::msg("Failed to generate crate repository name")),
}

0 comments on commit 86bbd1a

Please sign in to comment.