mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-04 15:55:30 +02:00
Merge branch 'main' of https://github.com/badlogic/heissepreise
This commit is contained in:
commit
573a6e3648
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user