summaryrefslogtreecommitdiff
path: root/cli/compilers/ts.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-10-29 01:42:44 +0100
committerRy Dahl <ry@tinyclouds.org>2019-10-28 20:42:44 -0400
commita7992e77037353ee4c7d3d480dcbd907961087bd (patch)
tree3d2750c76c29f69742c39c62f3fb2bc1fc0a1734 /cli/compilers/ts.rs
parent2f0f236d5656fa2d89a8e1571d03c4bda5f10d38 (diff)
refactor: use core ResourceTable in cli (#3206)
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 {