From bb884182218b5c12c7354c93860d69f65f59752a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 6 Jan 2021 02:38:23 +0100 Subject: 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. --- cli/version.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/version.rs') 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"); -- cgit v1.2.3