summaryrefslogtreecommitdiff
path: root/doc/api/modules.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-11-23 21:00:40 -0800
committerRich Trott <rtrott@gmail.com>2018-11-26 18:28:57 -0800
commitbb04a8bbf2dc97ee3e75f985de1b8b6ff4f0619c (patch)
tree32d13d6e6a069b4c43ecadb2ee45b559bf3ddf77 /doc/api/modules.md
parent4b086141b35d8744a1ddd62362e5bf6d7b36c7cf (diff)
downloadandroid-node-v8-bb04a8bbf2dc97ee3e75f985de1b8b6ff4f0619c.tar.gz
android-node-v8-bb04a8bbf2dc97ee3e75f985de1b8b6ff4f0619c.tar.bz2
android-node-v8-bb04a8bbf2dc97ee3e75f985de1b8b6ff4f0619c.zip
doc: clarify symlink resolution for __filename
Make it more explicit that symlinks are resolved in `__filename`. Refs: https://github.com/nodejs/node/issues/22602#issuecomment-440906602 PR-URL: https://github.com/nodejs/node/pull/24587 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/modules.md')
-rw-r--r--doc/api/modules.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/modules.md b/doc/api/modules.md
index c7d9d4b59c..acab51a5f3 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.