diff options
| author | Kasra Bigdeli <[email protected]> | 2020-08-16 19:35:45 -0400 |
|---|---|---|
| committer | Kasra Bigdeli <[email protected]> | 2020-08-16 19:35:45 -0400 |
| commit | 9ae0159100c53fcd357ec82cb819e3a863b34c57 (patch) | |
| tree | a1f973fcd6cbe47df6ee0ac10288eeee88eb2eec /scripts | |
| parent | b5f32aa696f756f8b4640dff5edfa9537c44d213 (diff) | |
| download | caprover-one-click-apps-9ae0159100c53fcd357ec82cb819e3a863b34c57.tar.gz caprover-one-click-apps-9ae0159100c53fcd357ec82cb819e3a863b34c57.zip | |
Fixed build
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/validate_apps.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/validate_apps.js b/scripts/validate_apps.js index 425caf1..3d21f58 100644 --- a/scripts/validate_apps.js +++ b/scripts/validate_apps.js @@ -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) { |
