Commit d1c27b2e authored by Bradley Meck's avatar Bradley Meck Committed by Jeremiah Senkpiel
Browse files

module: fix module preloading when cwd is ENOENT

Fixes a regression from 5759722c
that prevented modules from being preloaded if the cwd does not exist.
Absolute and builtin modules now preload correctly again.

Refs: https://github.com/nodejs/node/issues/1803
PR-URL: https://github.com/nodejs/node/pull/2353


Reviewed-By: default avatarJeremiah Senkpiel <fishrock123@rockemail.com>
parent 0ea5c8d7
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