Skip to content

Commit

Permalink
doc: fix a typo in __dirname section
Browse files Browse the repository at this point in the history
PR-URL: nodejs#6473
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com>
  • Loading branch information
toyota790 authored and joelostrowski committed May 4, 2016
1 parent 8ff2f94 commit 0ff0727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0ff0727

Please sign in to comment.