Loading lib/util/module-or-process-path.js +3 −2 Original line number Diff line number Diff line Loading @@ -12,9 +12,10 @@ function moduleOrProcessPath ( file_or_dir ) { relFile = path.join(relPath, file_or_dir); if ( (moduleFile != cwdFile) ) { if ( !fs.existsSync(cwdFile) && !fs.existsSync(cwdFile)) { if ( !fs.existsSync(cwdFile) && !fs.existsSync(moduleFile)) { // dindn't find in 'process' dir but found in 'module' dir // dindn't find in 'project' dir but found in 'module' dir // so we actually have a relative path return (relFile); } Loading Loading
lib/util/module-or-process-path.js +3 −2 Original line number Diff line number Diff line Loading @@ -12,9 +12,10 @@ function moduleOrProcessPath ( file_or_dir ) { relFile = path.join(relPath, file_or_dir); if ( (moduleFile != cwdFile) ) { if ( !fs.existsSync(cwdFile) && !fs.existsSync(cwdFile)) { if ( !fs.existsSync(cwdFile) && !fs.existsSync(moduleFile)) { // dindn't find in 'process' dir but found in 'module' dir // dindn't find in 'project' dir but found in 'module' dir // so we actually have a relative path return (relFile); } Loading