This commit is contained in:
Mario Zechner 2023-06-02 21:29:00 +02:00
commit 573a6e3648

View File

@ -223,6 +223,9 @@ exports.migrateToGzip = (dataDir) => {
);
files.push(`latest-canonical.json`);
for(const file of files) {
// skip if already gzipped
if (file.indexOf(".gz") != -1) continue;
const path = `${dataDir}/${file}`
console.log(`${path} -> ${path}.gz`);
const data = readJSON(path);