Skip to content

Commit

Permalink
clippy + FMT FIXES fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
archeoss committed Oct 9, 2023
1 parent 43b1fd4 commit 45c472b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions frontend/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,15 @@ pub fn move_frontend() {
.append(true)
.open("build.log")
.expect("Couldn't open log file...");
file.write(format!("PROJECT DIR: {project_dir:?}\n").as_bytes())
file.write_all(format!("PROJECT DIR: {project_dir:?}\n").as_bytes())
.expect("Couldn't write to build log");

file.write(format!("Moving /{FRONTEND_DIR} from {project_dir:?} to: {target:?}\n").as_bytes())
.expect("Couldn't write to build log");
project_dir.push(FRONTEND_DIR);

file.write_all(
format!("Moving /{FRONTEND_DIR} from {project_dir:?} to: {target:?}\n").as_bytes(),
)
.expect("Couldn't write to build log");

copy_dir_all(project_dir, target).expect("Couldn't move frontend build artifacts");
}
Expand Down
1 change: 1 addition & 0 deletions frontend/frontend.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit 45c472b

Please sign in to comment.