From 9ae0159100c53fcd357ec82cb819e3a863b34c57 Mon Sep 17 00:00:00 2001 From: Kasra Bigdeli Date: Sun, 16 Aug 2020 19:35:45 -0400 Subject: [PATCH] Fixed build --- scripts/validate_apps.js | 4 ++++ 1 file changed, 4 insertions(+) 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) {