Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7186ede

Browse filesBrowse files
geeksilva97targos
authored andcommitted
doc: put --env-file-if-exists=config right under --env-file=config
PR-URL: #55131 Fixes: #55129 Refs: #53060 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent d7a9df6 commit 7186ede
Copy full SHA for 7186ede

File tree

Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed
Open diff view settings
Collapse file

‎doc/api/cli.md‎

Copy file name to clipboardExpand all lines: doc/api/cli.md
+9-9Lines changed: 9 additions & 9 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,15 @@ export USERNAME="nodejs" # will result in `nodejs` as the value.
884884
If you want to load environment variables from a file that may not exist, you
885885
can use the [`--env-file-if-exists`][] flag instead.
886886

887+
### `--env-file-if-exists=config`
888+
889+
<!-- YAML
890+
added: v22.9.0
891+
-->
892+
893+
Behavior is the same as [`--env-file`][], but an error is not thrown if the file
894+
does not exist.
895+
887896
### `-e`, `--eval "script"`
888897

889898
<!-- YAML
@@ -1792,15 +1801,6 @@ is being linked to Node.js. Sharing the OpenSSL configuration may have unwanted
17921801
implications and it is recommended to use a configuration section specific to
17931802
Node.js which is `nodejs_conf` and is default when this option is not used.
17941803

1795-
### `--env-file-if-exists=config`
1796-
1797-
<!-- YAML
1798-
added: v22.9.0
1799-
-->
1800-
1801-
Behavior is the same as [`--env-file`][], but an error is not thrown if the file
1802-
does not exist.
1803-
18041804
### `--pending-deprecation`
18051805

18061806
<!-- YAML

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.