mirror of
https://github.com/vacp2p/rfc.vac.dev.git
synced 2026-01-07 15:13:51 -05:00
* Added .env.example * env config loading refactored * utility file system functions for reading and writing * vac to docusaurus converter functions extracted * github api service extracted * refactor the scrapping script * removed unused imports * updated directories to sync
13 lines
168 B
JavaScript
13 lines
168 B
JavaScript
import 'dotenv/config';
|
|
|
|
const {
|
|
GITHUB_TOKEN
|
|
} = process.env;
|
|
|
|
if (!GITHUB_TOKEN) {
|
|
throw new Error("Please provide the GITHUB_TOKEN")
|
|
}
|
|
|
|
export {
|
|
GITHUB_TOKEN
|
|
} |