Skip to content

Commit

Permalink
fix: incorrectly generated icon response file
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuhito committed Apr 28, 2023
1 parent aef1468 commit 69bdd6b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 86 deletions.
84 changes: 0 additions & 84 deletions data/icon-response.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "google-font-metadata",
"description": "A metadata generator for Google Fonts.",
"version": "5.1.0",
"version": "5.1.1",
"author": "Ayuhito <hello@ayuhito.com>",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
5 changes: 4 additions & 1 deletion src/icons-gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ export const stripIconsApiGen = async (

// Write the icon families to a separate file
await fs.writeFile(
join(dirname(fileURLToPath(import.meta.url)), '../data/icon-response.json'),
join(
dirname(fileURLToPath(import.meta.url)),
'../data/icons-response.json'
),
stringify(icons)
);

Expand Down

0 comments on commit 69bdd6b

Please sign in to comment.