Skip to content

Commit

Permalink
fix(cargo-generate): set year as string value
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbz00 committed Aug 18, 2024
1 parent 63c7124 commit ea71e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo_generate/script.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ prompt_optional_string("architecture_url", "Architecture README.md URL");
prompt_optional_string("codecov", "Codecov token");

fn template_license() {
variable::set("year", system::date().year);
variable::set("year", system::date().year.to_string());

let licenses = [
"None",
Expand Down

0 comments on commit ea71e92

Please sign in to comment.