Commit 6cdeb3b3 authored by isaacs's avatar isaacs Committed by Ryan Dahl
Browse files

A module ID with a trailing slash must be a dir.

require('./foo/') should not try to load './foo.js'.  It should only
look for ./foo/index.js

Closes GH-588
parent 36ef5643
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