From 737ab94ea1bdf65eeef323ea37e84bcf430fb92c Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Sun, 12 Jan 2020 22:20:33 +1100 Subject: Create an old program to be used in snapshot. (#3644) --- cli/js/dispatch_json.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/js/dispatch_json.ts') diff --git a/cli/js/dispatch_json.ts b/cli/js/dispatch_json.ts index 9efb4f59b..07095ea4b 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); } -- cgit v1.2.3