mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: fix a typo in __dirname section
PR-URL: https://github.com/nodejs/node/pull/6473 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com>
This commit is contained in:
1 parent
de20235235
commit
52d9e7b61d
1 file changed
+1
-1
@@ -38,7 +38,7 @@ For instance, given two modules: `a` and `b`, where `b` is a dependency of
|
||||
|
||||
References to `__dirname` within `b.js` will return
|
||||
`/Users/mjr/app/node_modules/b` while references to `__dirname` within `a.js`
|
||||
will return `/Users/mj/app`.
|
||||
will return `/Users/mjr/app`.
|
||||
|
||||
## \_\_filename
|
||||
|
||||
|
||||
Reference in new issue
Block a user