fix clippy
This commit is contained in:
1 parent
1a36409922
commit
4ee2bc259d
2 files changed
+3
-3
No files matched your search
@@ -354,7 +354,7 @@ pub fn build_desktop(config: &CrateConfig, _is_serve: bool) -> Result<BuildResul
|
|||||||
// Collect assets
|
// Collect assets
|
||||||
process_assets(config)?;
|
process_assets(config)?;
|
||||||
// Create the __assets_head.html file for bundling
|
// Create the __assets_head.html file for bundling
|
||||||
create_assets_head(&config)?;
|
create_assets_head(config)?;
|
||||||
|
|
||||||
log::info!(
|
log::info!(
|
||||||
"🚩 Build completed: [./{}]",
|
"🚩 Build completed: [./{}]",
|
||||||
@@ -727,7 +727,7 @@ fn process_assets(config: &CrateConfig) -> anyhow::Result<()> {
|
|||||||
);
|
);
|
||||||
let static_asset_output_dir = config.out_dir.join(static_asset_output_dir);
|
let static_asset_output_dir = config.out_dir.join(static_asset_output_dir);
|
||||||
|
|
||||||
manifest.copy_static_assets_to(&static_asset_output_dir)?;
|
manifest.copy_static_assets_to(static_asset_output_dir)?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ impl Serve {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn regen_dev_page(crate_config: &CrateConfig) -> Result<()> {
|
pub fn regen_dev_page(crate_config: &CrateConfig) -> Result<()> {
|
||||||
let serve_html = gen_page(&crate_config, true);
|
let serve_html = gen_page(crate_config, true);
|
||||||
|
|
||||||
let dist_path = crate_config.crate_dir.join(
|
let dist_path = crate_config.crate_dir.join(
|
||||||
crate_config
|
crate_config
|
||||||
|
|||||||
Reference in new issue
Block a user