mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
feat(cli/tools/upgrade): canary support (#8476)
This commit is contained in:
parent
47a16d2118
commit
973af61d8b
5 changed files with 118 additions and 30 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue