Apply suggestions from code review

Co-Authored-By: mzgoddard <mzgoddard@gmail.com>
This commit is contained in:
Karishma Chadhaandmzgoddard authored and GitHub committed 2018-12-20 14:12:33 -05:00
1 parent f1a24e3296
commit 4ad101f5d4
1 file changed
+3 -3
+3 -3
View File
@@ -310,12 +310,12 @@ class VirtualMachine extends EventEmitter {
// The project appears to be a Scratch 1 file but it
// could not be successfully translated into a Scratch 2
// project.
throw sb1Error;
return Promise.reject(sb1Error);
}
}
// Through original error since the input does not appear to be
// Throw original error since the input does not appear to be
// an SB1File.
throw error;
return Promise.reject(error);
});
return validationPromise