formatting and contributing
* fixed some formatting * contributing format * simple style rules
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user