Skip to content

Commit 69bdd6b

Browse files
committed
fix: incorrectly generated icon response file
1 parent aef1468 commit 69bdd6b

File tree

3 files changed

+5
-86
lines changed

3 files changed

+5
-86
lines changed

data/icon-response.json

Lines changed: 0 additions & 84 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "google-font-metadata",
33
"description": "A metadata generator for Google Fonts.",
4-
"version": "5.1.0",
4+
"version": "5.1.1",
55
"author": "Ayuhito <hello@ayuhito.com>",
66
"main": "./dist/index.js",
77
"module": "./dist/index.mjs",

src/icons-gen.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ export const stripIconsApiGen = async (
6666

6767
// Write the icon families to a separate file
6868
await fs.writeFile(
69-
join(dirname(fileURLToPath(import.meta.url)), '../data/icon-response.json'),
69+
join(
70+
dirname(fileURLToPath(import.meta.url)),
71+
'../data/icons-response.json'
72+
),
7073
stringify(icons)
7174
);
7275

0 commit comments

Comments
 (0)