diff --git a/cli/standalone/binary.rs b/cli/standalone/binary.rs index 1e84e13986..1290a238f3 100644 --- a/cli/standalone/binary.rs +++ b/cli/standalone/binary.rs @@ -427,13 +427,9 @@ impl<'a> DenoCompileBinaryWriter<'a> { binary_name ) } - ReleaseChannel::Stable => { + _ => { format!("release/v{}/{}", env!("CARGO_PKG_VERSION"), binary_name) } - _ => bail!( - "`deno compile` current doesn't support {} release channel", - crate::version::DENO_VERSION_INFO.release_channel.name() - ), }; let download_directory = self.deno_dir.dl_folder_path();