Skip to content

Commit beb1c6f

Browse files
committed
Remove console log for environment variable loading
1 parent d8fd911 commit beb1c6f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/infra/configuration/configuration.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { ConfigModule, ConfigModuleOptions, ConfigService } from '@nestjs/config
33
import { ConfigurationFactory } from './configuration.factory.js';
44

55
const getNodeEnv = (): string => process.env.NODE_ENV ?? 'development';
6-
console.log(`Loading environment variables from: ${getNodeEnv()}`); // This log is useful to verify that the correct .env file is being loaded
76
const envFilesHighestPriorityFirst = ['.env', `.env.${getNodeEnv()}`];
87
const loadEnvConfigInOrder = (): ConfigModuleOptions => {
98
return {

0 commit comments

Comments
 (0)