Skip to content

Commit

Permalink
fix totally ignored assets
Browse files Browse the repository at this point in the history
  • Loading branch information
boozook committed May 30, 2024
1 parent 59d54b1 commit 65bab4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo/src/assets/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ pub fn plan_for<'cfg, 'env, 'l>(config: &'cfg Config,
let opts = metadata.assets_options();

let has_dev_assets = with_dev && !metadata.dev_assets().is_empty();
let is_empty = !metadata.assets().is_empty() && !has_dev_assets;
let is_empty = metadata.assets().is_empty() && !has_dev_assets;

if is_empty {
return Ok(PackageAssetsPlan { main: None,
Expand Down

0 comments on commit 65bab4f

Please sign in to comment.