Commit 4ecd996
src: allow combination of -i and -e cli flags
If both -i and -e flags are specified, do not ignore the -i. Instead,
launch the interactive REPL and start by evaluating the passed string.
Fixes: #1197
PR-URL: #5655
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>1 parent 8c4c84f commit 4ecd996Copy full SHA for 4ecd996
File tree
Expand file treeCollapse file tree
2 files changed
+35
-2
lines changedOpen diff view settings
Filter options
- src
- test/sequential
Expand file treeCollapse file tree
2 files changed
+35
-2
lines changedOpen diff view settings
Collapse file
+8-2Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
88 | 88 | |
89 | 89 | |
90 | 90 | |
91 | | - |
92 | | - |
| 91 | + |
| 92 | + |
| 93 | + |
93 | 94 | |
94 | 95 | |
95 | 96 | |
| ||
161 | 162 | |
162 | 163 | |
163 | 164 | |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
| 169 | + |
164 | 170 | |
165 | 171 | |
166 | 172 | |
|
Collapse file
test/sequential/test-force-repl-with-eval.js
Copy file name to clipboard+27Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
0 commit comments