From 70e1f2fdc166f2275456739db4ed418d80253b6d Mon Sep 17 00:00:00 2001 From: Michael-F-Bryan Date: Fri, 16 Jun 2023 17:36:44 +0800 Subject: [PATCH] Remove an unused variable --- lib/cli/src/commands/publish.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(()) }