feat(cli/tools/upgrade): canary support (#8476)

This commit is contained in:
crowlKats 2020-11-29 20:00:35 +01:00 committed by GitHub
parent 47a16d2118
commit 973af61d8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 118 additions and 30 deletions

View file

@ -10,6 +10,10 @@ pub fn deno() -> String {
})
}
pub fn is_canary() -> bool {
option_env!("DENO_CANARY").is_some()
}
pub fn v8() -> &'static str {
deno_core::v8_version()
}