migrate to v4

This commit is contained in:
Kasra Bigdeli
2020-08-16 20:02:16 -04:00
parent 83103a1809
commit 0e70ec541e
307 changed files with 5843 additions and 6990 deletions

View File

@ -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) {