From fa7f34eb8cec07f4c68ca4e9c46a983bc3e2308f Mon Sep 17 00:00:00 2001 From: Ry Dahl Date: Tue, 21 Jan 2020 14:57:56 -0500 Subject: Revert "Create an old program to be used in snapshot. (#3644)" Ref #3712. This change allowed the deno_typescript crate to reference cli/js/lib.deno_runtime.d.ts which breaks "cargo package". We intend to reintroduce a revised version of this patch later once "cargo package" is working and tested. This reverts commit 737ab94ea1bdf65eeef323ea37e84bcf430fb92c. --- cli/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/lib.rs') diff --git a/cli/lib.rs b/cli/lib.rs index 53dac1ea9..263bd8c61 100644 --- a/cli/lib.rs +++ b/cli/lib.rs @@ -146,7 +146,7 @@ fn create_worker_and_state( } fn types_command() { - let content = deno_typescript::get_asset("lib.deno_runtime.d.ts").unwrap(); + let content = crate::js::get_asset("lib.deno_runtime.d.ts").unwrap(); println!("{}", content); } -- cgit v1.2.3