update cmakelists

This commit is contained in:
ekibun
2020-12-28 19:34:29 +08:00
parent 348848837a
commit 75527772ce
2 changed files with 2 additions and 1 deletions

View File

@@ -253,7 +253,7 @@ class IsolateQjs {
'port': evaluatePort.sendPort,
});
var result = await evaluatePort.first;
if (result['data'] != null)
if (result['error'] == null)
return _decodeData(result['data'], sendPort);
else
throw result['error'];