formatting and contributing

* fixed some formatting

* contributing format

* simple style rules
This commit is contained in:
Kevin Dang
2024-01-30 16:15:35 -08:00
committed by GitHub
parent 9247463480
commit b94ff55449
8 changed files with 56 additions and 13 deletions

View File

@@ -1,8 +1,8 @@
import { resolve } from "path"
import { config } from "dotenv"
import { resolve } from 'path'
import { config } from 'dotenv'
// Find config - ONLY WORKS WITH NODEMON
const envFile = process.env.NODE_ENV === "development" ? ".env.dev.local" : ".env"
const envFile = process.env.NODE_ENV === 'development' ? '.env.dev.local' : '.env'
// resolve config file
const envFilePath = resolve(process.cwd(), envFile)