Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2023-10-12 20:07:21 +00:00 committed by GitHub
parent 9e038f6938
commit dcac68af07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,11 +185,7 @@ fn main() {
// If Cargo.toml is present, build the app
let parent_pkg_path = format!("{}/pkg", entry_path.display());
if entry_path.join("Cargo.toml").exists() {
build_app(
&entry_path.display().to_string(),
&package_name,
None,
);
build_app(&entry_path.display().to_string(), &package_name, None);
} else if entry_path.is_dir() {
fs::create_dir_all(&parent_pkg_path).unwrap();