From 4842c5d7fef6cfdf53d430ac1639552844de45f9 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sat, 23 Jan 2021 21:45:02 +0100 Subject: [PATCH] Fixed no-env-warning to be more precise --- backend/src/config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/config/index.js b/backend/src/config/index.js index 9ebde6cee..0370d4552 100644 --- a/backend/src/config/index.js +++ b/backend/src/config/index.js @@ -8,7 +8,7 @@ if (require.resolve) { dotenv.config({ path: require.resolve('../../.env') }) } catch (error) { if (error.code !== 'MODULE_NOT_FOUND') throw error - console.log('WARN: No `.env` file found in /backend') // eslint-disable-line no-console + console.log('WARN: No `.env` file found in `/app` (docker) or `/backend` (no docker)') // eslint-disable-line no-console } }