Coalesce quota refreshes and consolidate shared helpers
Some checks failed
Deploy Sokko G / deploy (push) Failing after 2s

This commit is contained in:
Shinuwa 2026-09-10 20:03:57 +02:00
parent a4cf633ab4
commit 748415082b
19 changed files with 216 additions and 64 deletions

View file

@ -0,0 +1,10 @@
// Rôle : charge le fichier .env facultatif avec le parseur natif de Node.
import { loadEnvFile } from "node:process";
export function loadProjectEnv(file = ".env") {
try {
loadEnvFile(file);
} catch (error) {
if (error.code !== "ENOENT") throw error;
}
}