summaryrefslogtreecommitdiff
path: root/cli/js/dispatch_json.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/dispatch_json.ts')
-rw-r--r--cli/js/dispatch_json.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/dispatch_json.ts b/cli/js/dispatch_json.ts
index adccb69c6..104a7e564 100644
--- a/cli/js/dispatch_json.ts
+++ b/cli/js/dispatch_json.ts
@@ -62,7 +62,7 @@ export function sendSync(
const resUi8 = core.dispatch(opId, argsUi8, zeroCopy);
util.assert(resUi8 != null);
- const res = decode(resUi8);
+ const res = decode(resUi8!);
util.assert(res.promiseId == null);
return unwrapResponse(res);
}