From f1a24e32966096e25d81669a0be9c6847af06526 Mon Sep 17 00:00:00 2001 From: Karishma Chadha Date: Thu, 20 Dec 2018 14:11:58 -0500 Subject: [PATCH] Update src/virtual-machine.js Co-Authored-By: mzgoddard --- src/virtual-machine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virtual-machine.js b/src/virtual-machine.js index 9eb0d7786..7acd670c1 100644 --- a/src/virtual-machine.js +++ b/src/virtual-machine.js @@ -302,7 +302,7 @@ class VirtualMachine extends EventEmitter { const sb1 = new SB1File(input); const json = sb1.json; json.projectVersion = 2; - return [json, sb1.zip]; + return Promise.resolve([json, sb1.zip]); } catch (sb1Error) { if (sb1Error instanceof ValidationError) { // The input does not validate as a Scratch 1 file.