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:Jeremiah Senkpiel <fishrock123@rockemail.com>
parent
0ea5c8d7
Please register or sign in to comment