Skip to content

Commit

Permalink
add console message about amount of incorrect systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenni009 committed Aug 2, 2024
1 parent f759d9d commit 7cb5de9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dataTransform/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ import data from './index.json' with { type: 'json' };

const filteredData = data.filter((item) => !item['Correctly Prefixed']);

console.log(`${filteredData.length} incorrectly named system(s)`);

Deno.writeTextFileSync('src/assets/systems.json', JSON.stringify(filteredData, null, 2));

0 comments on commit 7cb5de9

Please sign in to comment.