summaryrefslogtreecommitdiff
path: root/cli/js.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-10-14 10:52:49 +1100
committerGitHub <noreply@github.com>2020-10-14 10:52:49 +1100
commit10654fa95553866c63a56a7f84c7ec47fb7aac9c (patch)
tree011b6f67259db903cda6bf61d439fdeec588835d /cli/js.rs
parent374d433f1f4885686dc5c166be3a25c839e22959 (diff)
refactor(cli): add tsc2 (#7942)
Ref #7225
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 d51d7dd92..3d2a17f36 100644
--- a/cli/js.rs
+++ b/cli/js.rs
@@ -57,7 +57,7 @@ fn compiler_snapshot() {
.execute(
"<anon>",
r#"
- if (!(bootstrapCompilerRuntime)) {
+ if (!(startup)) {
throw Error("bad");
}
console.log(`ts version: ${ts.version}`);