Files
upstream-mirror d57328655f
Some checks failed
build / test (18.x) (push) Failing after 10s
build / lint (18.x) (push) Failing after 0s
build / docker-image (push) Has been skipped
snapshot of https://github.com/raimohanska/ourboard.git (master, 2026-09-23; blobs > 131072B omitted)
2026-09-23 16:16:17 +05:00

8 lines
189 B
TypeScript

import process from "process"
export function getEnv(name: string): string {
const value = process.env[name]
if (!value) throw new Error("Missing ENV: " + name)
return value
}