From 9ef0b18eb0b4c337ccfc8d0add36bec6b657262f Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Thu, 19 Dec 2019 21:04:14 -0800 Subject: repl: do not crash on async op reject (#3527) --- deno_typescript/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deno_typescript/lib.rs') diff --git a/deno_typescript/lib.rs b/deno_typescript/lib.rs index e53a4243d..c410c870f 100644 --- a/deno_typescript/lib.rs +++ b/deno_typescript/lib.rs @@ -220,7 +220,7 @@ pub fn mksnapshot_bundle_ts( } fn write_snapshot( - runtime_isolate: Isolate, + mut runtime_isolate: Isolate, bundle: &Path, ) -> Result<(), ErrBox> { println!("creating snapshot..."); -- cgit v1.2.3