Files
node/lib
Teddy Katz b646a3df29 repl: include folder extensions in autocomplete
When autocompleting `require` calls, the repl strips .js file extensions
from results. However, stripping an extension from a directory results
in an error. Update the autocompletion logic to avoid stripping
extensions from directories.

PR-URL: https://github.com/nodejs/node/pull/14727
Fixes: https://github.com/nodejs/node/issues/14726
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
2017-08-13 01:03:30 -07:00
..
2017-08-04 12:55:44 -07:00
2017-07-07 13:18:19 -07:00
2017-08-01 19:57:24 +02:00
2017-07-17 22:09:46 -07:00
2017-08-04 12:55:44 -07:00
2017-07-30 19:24:23 +08:00
2016-10-04 12:17:32 -04:00
2017-03-10 11:23:48 -08:00
2017-07-07 13:18:19 -07:00
2017-06-19 18:18:56 +02:00
2017-07-17 22:09:46 -07:00
2017-06-28 20:00:42 +02:00
2017-03-10 11:23:48 -08:00