2
0
Files
bot/packages/scripts/index.ts
Baptiste Arnaud 9e08ff574b fix: 🐛 Tiny bugs (Sentry)
2022-02-25 18:44:11 +01:00

15 lines
277 B
TypeScript

import { PrismaClient } from 'db'
import path from 'path'
require('dotenv').config({
path: path.join(
__dirname,
process.env.NODE_ENV === 'production' ? '.env.prod' : '.env.local'
),
})
const prisma = new PrismaClient()
const main = async () => {}
main().then()