Skip to content

Commit

Permalink
Update minijinja to 2.x (#1058)
Browse files Browse the repository at this point in the history
General Housekeeping.
  • Loading branch information
mitsuhiko authored May 5, 2024
1 parent ab8d5b4 commit 27e392b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rye/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ git-testament = "0.2.4"
globset = "0.4.10"
indicatif = "0.17.3"
license = { version = "3.1.1", features = ["offline"] }
minijinja = { version = "1.0.0", features = ["json"] }
minijinja = { version = "2.0.1", features = ["json"] }
once_cell = "1.17.1"
pathdiff = "0.2.1"
pep440_rs = "0.4.0"
Expand Down
2 changes: 1 addition & 1 deletion rye/src/cli/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ pub fn execute(cmd: Args) -> Result<(), Error> {
}
if metadata.author.is_none() {
is_metadata_author_none = true;
metadata.author = author.clone();
metadata.author.clone_from(&author);
}
if metadata.requires_python.is_none() {
metadata.requires_python = Some(requires_python);
Expand Down

0 comments on commit 27e392b

Please sign in to comment.