Fixed build
This commit is contained in:
parent
b5f32aa696
commit
9ae0159100
|
|
@ -88,6 +88,10 @@
|
||||||
const pathOfVersion = path.join(pathOfPublic, 'v' + version);
|
const pathOfVersion = path.join(pathOfPublic, 'v' + version);
|
||||||
const pathOfApps = path.join(pathOfVersion, 'apps');
|
const pathOfApps = path.join(pathOfVersion, 'apps');
|
||||||
|
|
||||||
|
if (!fs.existsSync(pathOfApps)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
return fs.readdir(pathOfApps)
|
return fs.readdir(pathOfApps)
|
||||||
.then(function (items) {
|
.then(function (items) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue