Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexD10S committed Nov 7, 2024
1 parent e8972f0 commit 4890164
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/pop-contracts/src/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fn create_template_contract(
extract_template_files("", temp_dir.path(), canonicalized_path.as_path(), None)?;
} else {
extract_template_files(
&template.to_string(),
template.as_ref(),
temp_dir.path(),
canonicalized_path.as_path(),
Some(vec!["frontend".to_string()]),
Expand Down
2 changes: 1 addition & 1 deletion crates/pop-parachains/src/new_parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub fn instantiate_template_dir(
if Provider::Pop.provides(template) {
return instantiate_standard_template(template, target, config, tag_version);
}
if Provider::OpenZeppelin.provides(&template) {
if Provider::OpenZeppelin.provides(template) {
return instantiate_openzeppelin_template(template, target, tag_version);
}
let tag = Git::clone_and_degit(template.repository_url()?, target, tag_version)?;
Expand Down

0 comments on commit 4890164

Please sign in to comment.