diff options
author | crowlKats <13135287+crowlKats@users.noreply.github.com> | 2020-11-25 11:30:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 05:30:14 -0500 |
commit | a08d2eee2b4adf0cdf6d9c8a475beff6ee1df29b (patch) | |
tree | 40bea60c844636782a2364af632243e16d8db834 /cli/http_util.rs | |
parent | 8d12653738066facfc228b1d0d9e31b76c6d9de0 (diff) |
add canary versioning (#8480)
Diffstat (limited to 'cli/http_util.rs')
-rw-r--r-- | cli/http_util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/http_util.rs b/cli/http_util.rs index 1a8fcab62..c32e0deda 100644 --- a/cli/http_util.rs +++ b/cli/http_util.rs @@ -33,7 +33,7 @@ pub fn create_http_client(ca_file: Option<&str>) -> Result<Client, AnyError> { let mut headers = HeaderMap::new(); headers.insert( USER_AGENT, - format!("Deno/{}", version::DENO).parse().unwrap(), + format!("Deno/{}", version::deno()).parse().unwrap(), ); let mut builder = Client::builder() .redirect(Policy::none()) |