Fixed build

This commit is contained in:
Kasra Bigdeli 2020-08-16 19:35:45 -04:00
parent b5f32aa696
commit 9ae0159100
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,10 @@
const pathOfVersion = path.join(pathOfPublic, 'v' + version);
const pathOfApps = path.join(pathOfVersion, 'apps');
if (!fs.existsSync(pathOfApps)) {
return;
}
return fs.readdir(pathOfApps)
.then(function (items) {