release pack promise

This commit is contained in:
Ivan Kopeykin 2021-06-17 22:10:03 +03:00 committed by alexander.akait
parent 85a963a67b
commit b330c93e73
1 changed files with 1 additions and 0 deletions

View File

@ -1248,6 +1248,7 @@ class PackFileCacheStrategy {
afterAllStored() {
if (this.readonly) {
this.logger.log(`Readonly mode. Skip storing cache.`);
this.packPromise = undefined;
return Promise.resolve();
}