mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
6fc5e95354
Previously, the minimal argument to require the current directory was require('./'). This commits allows to skip the trailing slash. Fixes: https://github.com/iojs/io.js/issues/1178 PR-URL: https://github.com/iojs/io.js/pull/1185 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By: Christian Tellnes <christian@tellnes.no> Reviewed-By: Roman Reiss <me@silverwind.io> |
||
---|---|---|
.. | ||
child | ||
parent | ||
relative |