Commit 6fc5e953 authored by Michaël Zasso's avatar Michaël Zasso Committed by Roman Reiss
Browse files

module: allow require('.')

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: default avatarChris Dickinson <christopher.s.dickinson@gmail.com>
Reviewed-By: default avatarChristian Tellnes <christian@tellnes.no>
Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
parent a0d32ff5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment