summaryrefslogtreecommitdiff
path: root/cli/lib.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-01-22 20:18:01 +0100
committerGitHub <noreply@github.com>2020-01-22 20:18:01 +0100
commitbd9561f4de8f940ce6ed8b5eedfa84161a749c54 (patch)
tree20bc23c294aa3031fe4729dc09e03351ec6097f4 /cli/lib.rs
parent3c47718959fb38d51e34c64d423151b5326bae3a (diff)
Reland "Create an old program to be used in snapshot." (#3747)
* read CLI assets from disk during snapshotting
Diffstat (limited to 'cli/lib.rs')
-rw-r--r--cli/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/lib.rs b/cli/lib.rs
index 263bd8c61..9753e4c4c 100644
--- a/cli/lib.rs
+++ b/cli/lib.rs
@@ -146,8 +146,7 @@ fn create_worker_and_state(
}
fn types_command() {
- let content = crate::js::get_asset("lib.deno_runtime.d.ts").unwrap();
- println!("{}", content);
+ println!("{}", crate::js::DENO_RUNTIME);
}
fn print_cache_info(worker: MainWorker) {