Skip to content

Commit 10f3e17

Browse files
Apply suggestions from code review
Co-authored-by: James M Snell <jasnell@gmail.com>
1 parent 3746437 commit 10f3e17

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/repl.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,8 +1311,8 @@ function completeFSFunctions(match) {
13111311
// -> [['util.print', 'util.debug', 'util.log', 'util.inspect'],
13121312
// 'util.' ]
13131313
//
1314-
// Warning: This eval's code like "foo.bar.baz", so it could run property
1315-
// getter code. To avoid potential side-effecful getters the completion
1314+
// Warning: This evals code like "foo.bar.baz", so it could run property
1315+
// getter code. To avoid potential triggering side-effects with getters the completion
13161316
// logic is skipped when getters or proxies are involved in the expression.
13171317
// (see: https://github.com/nodejs/node/issues/57829).
13181318
async function complete(line, callback) {

0 commit comments

Comments
 (0)