Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Jul 25, 2024
1 parent d7b6ed5 commit e52a87d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jruby_executable/src/bin/jruby_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ fn jruby_check(args: &RubyArgs) -> Result<(), Box<dyn Error>> {
cmd.arg(image_name);
cmd.args(["bash", "-c"]);
cmd.arg(
&[
[
"mkdir /tmp/unzipped",
&format!("tar xzf {} -C /tmp/unzipped", inner_jruby_path.display()),
"export PATH=\"tmp/unzipped/bin:$PATH\"",
Expand Down
1 change: 0 additions & 1 deletion ruby_executable/src/bin/ruby_build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use fun_run::CommandWithName;
use gem_version::GemVersion;
use indoc::{formatdoc, indoc};
use inventory::artifact::Artifact;
use nom::Err;
use shared::{
append_filename_with, artifact_is_different, artifact_same_url_different_checksum,
atomic_inventory_update, download_tar, output_tar_path, sha256_from_path, source_dir,
Expand Down
2 changes: 1 addition & 1 deletion ruby_executable/src/bin/ruby_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn ruby_check(args: &RubyArgs) -> Result<(), Box<dyn Error>> {
cmd.arg(image_name);
cmd.args(["bash", "-c"]);
cmd.arg(
&[
[
"mkdir /tmp/unzipped",
&format!("tar xzf {} -C /tmp/unzipped", path.display()),
"echo -n '- Rubygems version: '",
Expand Down

0 comments on commit e52a87d

Please sign in to comment.