mirror of https://github.com/lukechilds/node.git
Browse Source
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>v1.8.0-commit
committed by
Roman Reiss
5 changed files with 10 additions and 1 deletions
@ -0,0 +1 @@ |
|||
module.exports = require('./'); |
@ -0,0 +1 @@ |
|||
module.exports = require('.'); |
@ -0,0 +1 @@ |
|||
exports.value = 42; |
Loading…
Reference in new issue