feature: sync.js - script automatique de détection, téléchargement et import des années manquantes geodvf
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
6
lib/dotenv.js
Normal file
6
lib/dotenv.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import { findUpSync } from 'find-up';
|
||||
import dotenv from 'dotenv';
|
||||
import path from 'node:path';
|
||||
|
||||
const foundenv = findUpSync('.env', { cwd: path.dirname(process.argv[1]) });
|
||||
dotenv.config({ path: foundenv, quiet: true });
|
||||
Reference in New Issue
Block a user