Reland "Create an old program to be used in snapshot." (#3747)

* read CLI assets from disk during snapshotting
This commit is contained in:
Bartek Iwańczuk 2020-01-22 20:18:01 +01:00 committed by GitHub
parent 3c47718959
commit bd9561f4de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 126 additions and 64 deletions

View file

@ -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);
}