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 737ab94ea1.
This commit is contained in:
Ry Dahl 2020-01-21 14:57:56 -05:00 committed by GitHub
parent 7fd50065a7
commit fa7f34eb8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 59 additions and 84 deletions

View file

@ -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);
}