Commit 78520ba4 authored by Nick Stenning's avatar Nick Stenning Committed by Ryan Dahl
Browse files

Don't attempt to load a directory.

This patch replaces the path.exists check for module loading with a call to
fs.statSync (or fs.stat for require.async) which ensures that it's not trying
to load a directory.
parent 0b925d07
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