diff --git a/doc/api/modules.md b/doc/api/modules.md index d75905e4c5bd01..6706206f9b92ed 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -491,8 +491,8 @@ added: v0.0.1 * {string} -The file name of the current module. This is the resolved absolute path of the -current module file. +The file name of the current module. This is the current module file's absolute +path with symlinks resolved. For a main program this is not necessarily the same as the file name used in the command line.