From 229eb292f83dedbc32dc24f912841caf79a53e9c Mon Sep 17 00:00:00 2001 From: Ry Dahl Date: Tue, 21 Jan 2020 10:24:02 -0500 Subject: Revert "don't include assets in binary (#3661)" Ref #3712 This reverts commit 32cbcfe4e9943a0318c497188e045d23c5f6703a. --- 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 6bae9c46f..c0ad84c85 100644 --- a/cli/lib.rs +++ b/cli/lib.rs @@ -146,7 +146,7 @@ fn create_worker_and_state( } fn types_command() { - let content = include_str!("./js/lib.deno_runtime.d.ts"); + let content = deno_typescript::get_asset("lib.deno_runtime.d.ts").unwrap(); println!("{}", content); } -- cgit v1.2.3