Only use attemptedStatus on re-download if it is 'installed'

This commit is contained in:
Scott Nonnenberg 2019-05-29 12:22:52 -07:00
parent 205f04e70e
commit b221dcff5a

View file

@ -147,10 +147,12 @@ function capturePacksToDownload(existingPackLookup) {
}
if (doesPackNeedDownload(existing)) {
const status =
existing.attemptedStatus === 'installed' ? 'installed' : null;
toDownload[id] = {
id,
key: existing.key,
status: existing.attemptedStatus,
status,
};
}
});