Skip to content

Commit

Permalink
fix(cli): show canary string in long version (denoland#8675)
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats committed Dec 14, 2020
1 parent b5b7c7e commit b2bda57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cli/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,11 @@ lazy_static! {
static ref LONG_VERSION: String = format!(
"{} ({}, {})\nv8 {}\ntypescript {}",
crate::version::deno(),
env!("PROFILE"),
if crate::version::is_canary() {
"canary"
} else {
env!("PROFILE")
},
env!("TARGET"),
deno_core::v8_version(),
crate::version::TYPESCRIPT
Expand Down

0 comments on commit b2bda57

Please sign in to comment.