We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7b0c92 commit fe6f363Copy full SHA for fe6f363
1 file changed
src/node.js
@@ -169,7 +169,7 @@
169
try {
170
var stats = fs.statSync(requestPath);
171
if (stats && !stats.isDirectory()) {
172
- return fs.realpathSync(requestPath);
+ return requestPath;
173
}
174
} catch (e) {}
175
return false;
@@ -277,7 +277,6 @@
277
if (!filename) {
278
throw new Error("Cannot find module '" + request + "'");
279
280
- id = filename;
281
return [id, filename];
282
283
0 commit comments