Fix assert (appStoreId is optional)

This commit is contained in:
Girish Ramakrishnan
2020-03-29 19:12:07 -07:00
parent 86f45e2769
commit 25c000599f
+1 -1
View File
@@ -697,7 +697,7 @@ function install(data, auditSource, callback) {
assert.strictEqual(typeof auditSource, 'object');
assert.strictEqual(typeof callback, 'function');
assert(data.appStoreId && data.manifest); // manifest is already downloaded
assert.strictEqual(typeof data.manifest, 'object'); // manifest is already downloaded
var location = data.location.toLowerCase(),
domain = data.domain.toLowerCase(),