diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-01-06 02:38:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 02:38:23 +0100 |
commit | bb884182218b5c12c7354c93860d69f65f59752a (patch) | |
tree | 21622b6c51841442ef5b2ce5c31453d715d73317 /cli/version.rs | |
parent | 4c4791b5899afe585738ac0a15ba5c21d36952cc (diff) |
refactor(cli): remove 'js' module, simplify compiler snapshot (#9020)
This commit removes "js" module from "cli".
It contained stuff related to TypeScript compiler (snapshot,
declaration files) and thus it was moved to "tsc" module.
Diffstat (limited to 'cli/version.rs')
-rw-r--r-- | cli/version.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/version.rs b/cli/version.rs index 63253cec8..49cb34f1d 100644 --- a/cli/version.rs +++ b/cli/version.rs @@ -1,7 +1,7 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. pub const GIT_COMMIT_HASH: &str = env!("GIT_COMMIT_HASH"); -pub const TYPESCRIPT: &str = crate::js::TS_VERSION; +pub const TYPESCRIPT: &str = env!("TS_VERSION"); pub fn deno() -> String { let semver = env!("CARGO_PKG_VERSION"); |