From 65bab4fb72063af6d85e1f14629187a4eda9b046 Mon Sep 17 00:00:00 2001 From: Alexander Koz Date: Thu, 30 May 2024 16:53:08 +0400 Subject: [PATCH] fix totally ignored assets --- cargo/src/assets/plan.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cargo/src/assets/plan.rs b/cargo/src/assets/plan.rs index 4fac6f75..e25edc53 100644 --- a/cargo/src/assets/plan.rs +++ b/cargo/src/assets/plan.rs @@ -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,