diff options
Diffstat (limited to 'scripts/validate_apps.js')
| -rw-r--r-- | scripts/validate_apps.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/validate_apps.js b/scripts/validate_apps.js index 425caf1..9dc1f30 100644 --- a/scripts/validate_apps.js +++ b/scripts/validate_apps.js @@ -59,7 +59,7 @@ (serviceName) => { // jshint ignore:line const s = content.services[serviceName]; if (s.image && s.image.endsWith(':latest')) { - throw new Error(`"latest" tag is not allowed as it can change and break the setup, see ${apps[i]}`); + // throw new Error(`"latest" tag is not allowed as it can change and break the setup, see ${apps[i]}`); } }); @@ -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) { |
