diff --git a/lib/cli/src/commands/publish.rs b/lib/cli/src/commands/publish.rs index 14aa1ef15a4..bd332d6276c 100644 --- a/lib/cli/src/commands/publish.rs +++ b/lib/cli/src/commands/publish.rs @@ -77,7 +77,7 @@ fn invalidate_graphql_query_cache() -> Result<(), anyhow::Error> { .map_err(anyhow::Error::msg) .context("Unable to determine the wasmer dir")?; - let cache_dir = WapmSource::invalidate_local_cache(wasmer_dir)?; + WapmSource::invalidate_local_cache(wasmer_dir)?; Ok(()) }