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 80e5150

Browse filesBrowse files
ShenHongFeiRafaelGSS
authored andcommitted
doc: fix module compile cache description
PR-URL: #54625 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent f8cbbc6 commit 80e5150
Copy full SHA for 80e5150

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎doc/api/module.md‎

Copy file name to clipboardExpand all lines: doc/api/module.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ directory will be recreated the next time the same directory is used for for com
182182
storage. To avoid filling up the disk with stale cache, it is recommended to use a directory
183183
under the [`os.tmpdir()`][]. If the compile cache is enabled by a call to
184184
[`module.enableCompileCache()`][] without specifying the directory, Node.js will use
185-
the [`NODE_DISABLE_COMPILE_CACHE=1`][] environment variable if it's set, or defaults
185+
the [`NODE_COMPILE_CACHE=dir`][] environment variable if it's set, or defaults
186186
to `path.join(os.tmpdir(), 'node-compile-cache')` otherwise. To locate the compile cache
187187
directory used by a running Node.js instance, use [`module.getCompileCacheDir()`][].
188188

0 commit comments

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