<!-- Thank you for reporting a possible bug in Node.js. Please fill in as much of the template below as you can. Version: output of `node -v` Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows) Subsystem: if known, please specify the affected core module name If possible, please provide code that demonstrates the problem, keeping it as simple and free of external dependencies as you can. --> * **Version**: master * **Platform**: macOS X 10.14.4 * **Subsystem**: repl <!-- Please provide more details below this comment. --> Small bug on macOS (when, e.g., I have `node-core-utils` in `/Users/Projects`): ```js fs.readFileSync('node-<tab> EXPECTED: fs.readFileSync('node-core-utils ACTUAL: fs.readFileSync('node-ode-core-utils ``` Refs: https://github.com/nodejs/node/pull/26648#issuecomment-493638851 cc @antsmartian
Activity
Fishrock123 commentedon Sep 5, 2019
For me, pressing tab in this scenario results in
fs.readFileSync('node-ode-and refuses to go further.joao-alberto commentedon Sep 6, 2019
Can I work in this issue?
juanarbol commentedon Sep 10, 2019
@joao-alberto Do it!
lholmquist commentedon Sep 11, 2019
I can also confirm that this issue is present on Fedora 29 using Node 12.9.0
antsmartian commentedon Sep 12, 2019
I know what is causing this issue, I guess. Let me work on a fix. @joao-alberto Let me know if you have picked up this issue?
joao-alberto commentedon Sep 12, 2019
@antsmartian If you already know the issue go ahead. Let me know if you need some help.
repl: fix bug in fs module autocompletion
repl: fix bug in fs module autocompletion
repl: fix bug in fs module autocompletion