@sealcode/sealgen 0.19.30 → 0.19.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/get-fonts.ts +7 -1
package/package.json
CHANGED
package/src/get-fonts.ts
CHANGED
|
@@ -98,7 +98,13 @@ export async function getFonts(_: Record<string, string | boolean> = {}) {
|
|
|
98
98
|
} catch {
|
|
99
99
|
console.info("No fonsta config present, using just google fonts");
|
|
100
100
|
}
|
|
101
|
-
|
|
101
|
+
try {
|
|
102
|
+
await rmdir("public/tmp");
|
|
103
|
+
} catch {
|
|
104
|
+
console.info(
|
|
105
|
+
"Could not remove ./public/tmp. Maybe it wasn't there in the first place"
|
|
106
|
+
);
|
|
107
|
+
}
|
|
102
108
|
console.info("Downloaded new fonts pack from Font Squirrel");
|
|
103
109
|
|
|
104
110
|
console.info("Downloaded new fonts pack");
|