浏览代码

feat: log

huangzhichao 4 周之前
父节点
当前提交
70a90eeb3c
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/main.ts

+ 3 - 1
src/main.ts

@@ -3,7 +3,9 @@ import * as dotenv from 'dotenv'
 
 import { AppModule } from './app.module'
 
-dotenv.config({ path: ['.env.local', '.env'] }).parsed
+const res = dotenv.config({ path: ['.env.local', '.env'] }).parsed
+
+console.log(res)
 
 async function bootstrap() {
   const app = await NestFactory.create(AppModule)