summaryrefslogtreecommitdiff
path: root/cli/js.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js.rs')
-rw-r--r--cli/js.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js.rs b/cli/js.rs
index 73cac327d..d6a360b52 100644
--- a/cli/js.rs
+++ b/cli/js.rs
@@ -42,7 +42,7 @@ fn compiler_snapshot() {
deno_core::js_check(isolate.execute(
"<anon>",
r#"
- if (!compilerMain) {
+ if (!bootstrapTsCompiler) {
throw Error("bad");
}
console.log(`ts version: ${ts.version}`);