Skip to content

Commit

Permalink
Fix new Clippy lint failures (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
Malax authored Sep 12, 2023
1 parent 174f16b commit 5e53066
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[workspace]
resolver = "1"

members = [
"buildpacks/jvm",
"buildpacks/jvm-function-invoker",
Expand Down
2 changes: 1 addition & 1 deletion buildpacks/maven/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl Buildpack for MavenBuildpack {
#[allow(clippy::too_many_lines)]
fn build(&self, context: BuildContext<Self>) -> libcnb::Result<BuildResult, Self::Error> {
let mut current_or_platform_env = Env::from_current();
for (key, value) in context.platform.env().iter() {
for (key, value) in context.platform.env() {
current_or_platform_env.insert(key, value);
}

Expand Down

0 comments on commit 5e53066

Please sign in to comment.