Skip to content

Commit 39325cf

Browse files
fixup! module: fix directory option in the enableCompileCache() API
Co-authored-by: Aditi <[email protected]>
1 parent 9fe76e8 commit 39325cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/modules/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ function stringify(body) {
405405
* Enable on-disk compiled cache for all user modules being compiled in the current Node.js instance
406406
* after this method is called.
407407
* This method accepts either:
408-
* - A string: the directory to the cache directory.
408+
* - A string: path to the cache directory.
409409
* - An options object `{directory?: string, portable?: boolean}`:
410410
* - `directory`: A string path to the cache directory.
411411
* - `portable`: If `portable` is true, the cache directory will be considered relative.

0 commit comments

Comments
 (0)