Commit 6087e36
repl: preprocess only for defaultEval
Code preprocessing is applicable only for default
eval function. Therefore, Moved `preprocess` function
invocation inside `defaultEval` function.
Fixes: #9743
PR-URL: #9752
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 0c745e3 commit 6087e36Copy full SHA for 6087e36
File tree
Expand file treeCollapse file tree
2 files changed
+35
-26
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
2 files changed
+35
-26
lines changedOpen diff view settings
Collapse file
+27-24Lines changed: 27 additions & 24 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
238 | 238 | |
239 | 239 | |
240 | 240 | |
| 241 | + |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + |
| 252 | + |
| 253 | + |
| 254 | + |
| 255 | + |
| 256 | + |
| 257 | + |
| 258 | + |
| 259 | + |
| 260 | + |
| 261 | + |
| 262 | + |
241 | 263 | |
| 264 | + |
| 265 | + |
| 266 | + |
| 267 | + |
242 | 268 | |
243 | 269 | |
244 | 270 | |
| ||
506 | 532 | |
507 | 533 | |
508 | 534 | |
509 | | - |
510 | | - |
| 535 | + |
511 | 536 | |
512 | 537 | |
513 | 538 | |
| ||
564 | 589 | |
565 | 590 | |
566 | 591 | |
567 | | - |
568 | | - |
569 | | - |
570 | | - |
571 | | - |
572 | | - |
573 | | - |
574 | | - |
575 | | - |
576 | | - |
577 | | - |
578 | | - |
579 | | - |
580 | | - |
581 | | - |
582 | | - |
583 | | - |
584 | | - |
585 | | - |
586 | | - |
587 | | - |
588 | | - |
589 | 592 | |
590 | 593 | |
591 | 594 | |
|
Collapse file
test/parallel/test-repl-eval.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-eval.js+8-2Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | | - |
| 13 | + |
| 14 | + |
14 | 15 | |
15 | 16 | |
16 | 17 | |
17 | 18 | |
18 | 19 | |
19 | 20 | |
20 | 21 | |
21 | | - |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
22 | 28 | |
23 | 29 | |
24 | 30 | |
|
0 commit comments