- v9.5.0:
- Windows 10 Pro 64-bit:
- modules:
I have this file structure:

other files are empty.
run: node app.js
if rely on the documentation require should find file underlined in the picture below:

hello.js
but it finds this:

test.js
It should find file in step 3.a but it finds in step 3.b

I have this file structure:

app.js
console.log( require.resolve('./hello') );package.json
{ "main": "test" }other files are empty.
run:
node app.jsif rely on the documentation require should find file underlined in the picture below:

hello.js
but it finds this:

test.js
It should find file in step 3.a but it finds in step 3.b
