mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
78a7dc2b8f
Fixes regression in require system that prevented loading relative
packages via main property in package.json where the file is not
index.{ext}. The regression was introduced in commit 36777d2
.
PR-URL: https://github.com/iojs/io.js/pull/145
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2 lines
33 B
JavaScript
2 lines
33 B
JavaScript
module.exports = require('../');
|