summaryrefslogtreecommitdiff
path: root/cli/compilers/ts.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/compilers/ts.rs')
-rw-r--r--cli/compilers/ts.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/compilers/ts.rs b/cli/compilers/ts.rs
index 9cbaaae09..e38920820 100644
--- a/cli/compilers/ts.rs
+++ b/cli/compilers/ts.rs
@@ -274,6 +274,7 @@ impl TsCompiler {
let compiler_rid = resource.rid;
let first_msg_fut =
resources::post_message_to_worker(compiler_rid, req_msg)
+ .expect("Bad compiler rid")
.then(move |_| worker)
.then(move |result| {
if let Err(err) = result {
@@ -382,6 +383,7 @@ impl TsCompiler {
let compiler_rid = resource.rid;
let first_msg_fut =
resources::post_message_to_worker(compiler_rid, req_msg)
+ .expect("Bad compiler rid")
.then(move |_| worker)
.then(move |result| {
if let Err(err) = result {