summaryrefslogtreecommitdiff
path: root/cli/compilers/ts.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-02-04 20:24:33 +0100
committerGitHub <noreply@github.com>2020-02-04 20:24:33 +0100
commit184be99f5b6e85a6041e72dfdd0afda46e5f8619 (patch)
treed438f3ab106d4a515cf05a296a31db206c266d80 /cli/compilers/ts.rs
parent2ab49a80a62f00e5540907d6d85cf15a9cce070e (diff)
refactor: CLI subcommands and argv (#3886)
Diffstat (limited to 'cli/compilers/ts.rs')
-rw-r--r--cli/compilers/ts.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/compilers/ts.rs b/cli/compilers/ts.rs
index 27203484f..8517c319b 100644
--- a/cli/compilers/ts.rs
+++ b/cli/compilers/ts.rs
@@ -241,8 +241,10 @@ impl TsCompiler {
/// runtime.
fn setup_worker(global_state: ThreadSafeGlobalState) -> CompilerWorker {
let (int, ext) = ThreadSafeState::create_channels();
+ let entry_point =
+ ModuleSpecifier::resolve_url_or_path("./__$deno$ts_compiler.ts").unwrap();
let worker_state =
- ThreadSafeState::new(global_state.clone(), None, None, int)
+ ThreadSafeState::new(global_state.clone(), None, entry_point, int)
.expect("Unable to create worker state");
// Count how many times we start the compiler worker.