diff --git a/src/serialization/deserialize-assets.js b/src/serialization/deserialize-assets.js index 9fff454b2..29cae9109 100644 --- a/src/serialization/deserialize-assets.js +++ b/src/serialization/deserialize-assets.js @@ -30,11 +30,7 @@ const deserializeSound = function (sound, runtime, zip, assetFileName) { // This sound has already been cached. return Promise.resolve(null); } - if (!zip) { - // TODO adding this case to make integration tests pass, need to rethink - // the entire structure of saving/loading here (w.r.t. differences between - // loading from local zip file or from server) - log.error('Zipped assets were not provided.'); + if (!zip) { // Zip will not be provided if loading project json from server return Promise.resolve(null); } const soundFile = zip.file(fileName); @@ -93,11 +89,7 @@ const deserializeCostume = function (costume, runtime, zip, assetFileName) { return Promise.resolve(null); } - if (!zip) { - // TODO adding this case to make integration tests pass, need to rethink - // the entire structure of saving/loading here (w.r.t. differences between - // loading from local zip file or from server) - log.error('Zipped assets were not provided.'); + if (!zip) { // Zip will not be provided if loading project json from server return Promise.resolve(null); }