Skip to content

Commit

Permalink
fmt/clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
csasarak committed May 8, 2024
1 parent db3f513 commit faf029f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/fossa_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ where
let final_path_string = final_path.to_str().unwrap_or("").to_string();
let mut final_file = std::fs::OpenOptions::new()
.create(true)
.truncate(true)
.write(true)
.mode(0o770)
.open(final_path)
Expand Down
2 changes: 1 addition & 1 deletion tests/it/fossa_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async fn analyze_fails_dynamic() {
.analyze(&scan_id, &project)
.await
.expect("Must successfully run");

assert!(analysis_results.is_empty());
}

Expand Down

0 comments on commit faf029f

Please sign in to comment.