From 627e137e3201e6ada7af382cf0d3216844fb077a Mon Sep 17 00:00:00 2001 From: Arthur Fiorette <47537704+arthurfiorette@users.noreply.github.com> Date: Tue, 14 Nov 2023 18:35:36 -0300 Subject: [PATCH] Update cli.md --- doc/api/cli.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 6b1860ecc81980..ec6b08662ad145 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -543,7 +543,8 @@ Loads environment variables from a file relative to the current directory, making them available to applications on `process.env`. The [environment variables which configure Node.js][environment_variables], such as `NODE_OPTIONS`, are parsed and applied. If the same variable is defined in the environment and -in the file, the value from the environment takes precedence. +in the file, the value from the environment takes precedence. A file is silently +ignored when it cannot be found. You can pass multiple `--env-file` arguments. Subsequent files override pre-existing variables defined in previous files.