fix clippy

This commit is contained in:
Evan Almloff committed 2023-10-14 14:32:08 -05:00
1 parent 3bf6d2d7cf
commit 9f729dd6de
4 files changed
+2 -4

No files matched your search

+1 -1
View File
@@ -312,7 +312,7 @@ pub fn build_desktop(config: &CrateConfig, _is_serve: bool) -> Result<BuildResul
if !config.out_dir.is_dir() {
create_dir_all(&config.out_dir)?;
}
copy(res_path, &config.out_dir.join(target_file))?;
copy(res_path, config.out_dir.join(target_file))?;
// this code will copy all public file to the output dir
if config.asset_dir.is_dir() {