diff --git a/crates/cli/src/subcommands/generate/mod.rs b/crates/cli/src/subcommands/generate/mod.rs index c2b75983c2a..f80311e4a4c 100644 --- a/crates/cli/src/subcommands/generate/mod.rs +++ b/crates/cli/src/subcommands/generate/mod.rs @@ -122,11 +122,7 @@ pub async fn exec(config: Config, args: &clap::ArgMatches) -> anyhow::Result<()> }; module } else { - let wasm_path = if !project_path.is_dir() && project_path.extension().map_or(false, |ext| ext == "wasm") { - println!("Note: Using --project-path to provide a wasm file is deprecated, and will be"); - println!("removed in a future release. Please use --bin-path instead."); - project_path.clone() - } else if let Some(path) = wasm_file { + let wasm_path = if let Some(path) = wasm_file { println!("Skipping build. Instead we are inspecting {}", path.display()); path.clone() } else { diff --git a/crates/cli/src/subcommands/publish.rs b/crates/cli/src/subcommands/publish.rs index 397c8ab762f..36c88def9bc 100644 --- a/crates/cli/src/subcommands/publish.rs +++ b/crates/cli/src/subcommands/publish.rs @@ -102,11 +102,7 @@ pub async fn exec(config: Config, args: &ArgMatches) -> Result<(), anyhow::Error )); } - let path_to_wasm = if !path_to_project.is_dir() && path_to_project.extension().map_or(false, |ext| ext == "wasm") { - println!("Note: Using --project-path to provide a wasm file is deprecated, and will be"); - println!("removed in a future release. Please use --bin-path instead."); - path_to_project.clone() - } else if let Some(path) = wasm_file { + let path_to_wasm = if let Some(path) = wasm_file { println!("Skipping build. Instead we are publishing {}", path.display()); path.clone() } else { diff --git a/crates/client-api/src/routes/tracelog.rs b/crates/client-api/src/routes/tracelog.rs index 1b3e6e11bd6..1caf935f34d 100644 --- a/crates/client-api/src/routes/tracelog.rs +++ b/crates/client-api/src/routes/tracelog.rs @@ -6,12 +6,12 @@ use serde::Deserialize; use tempfile::TempDir; use spacetimedb::address::Address; -use spacetimedb::replica_context::ReplicaContext; use spacetimedb::db::Storage; use spacetimedb::hash::hash_bytes; use spacetimedb::host::instance_env::InstanceEnv; use spacetimedb::host::tracelog::replay::replay_report; use spacetimedb::host::Scheduler; +use spacetimedb::replica_context::ReplicaContext; use spacetimedb_lib::Identity; use crate::{log_and_500, ControlStateReadAccess, NodeDelegate};