mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-23 14:52:18 +10:00
refactor: ponytail audit
This commit is contained in:
@@ -3,7 +3,7 @@ import { drizzle } from "drizzle-orm/node-postgres";
|
||||
import { Pool } from "pg";
|
||||
import { env } from "@reactive-resume/env/server";
|
||||
|
||||
export async function resetDatabase() {
|
||||
async function resetDatabase() {
|
||||
console.log("Resetting database...");
|
||||
|
||||
const pool = new Pool({ connectionString: env.DATABASE_URL });
|
||||
|
||||
@@ -160,7 +160,7 @@ function getMetricCompatibleFonts(): WebFont[] {
|
||||
];
|
||||
}
|
||||
|
||||
export async function generateFonts() {
|
||||
async function generateFonts() {
|
||||
const response = await getGoogleFontsJSON();
|
||||
console.log(`Found ${response.items.length} fonts in total (Google Fonts).`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user