summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/standalone/binary.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/cli/standalone/binary.rs b/cli/standalone/binary.rs
index 1e84e1398..1290a238f 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();