Commit 32ba8ae
repl: fix old history error handling
Backport-PR-URL: #14392
Backport-Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #13733
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>1 parent 9e9e1b4 commit 32ba8aeCopy full SHA for 32ba8ae
File tree
Expand file treeCollapse file tree
4 files changed
+67
-29
lines changedOpen diff view settings
Filter options
- lib/internal
- test
- fixtures
- parallel
Expand file treeCollapse file tree
4 files changed
+67
-29
lines changedOpen diff view settings
Collapse file
+39-25Lines changed: 39 additions & 25 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
18 | 23 | |
19 | 24 | |
20 | 25 | |
| ||
80 | 85 | |
81 | 86 | |
82 | 87 | |
83 | | - |
84 | | - |
85 | | - |
| 88 | + |
| 89 | + |
86 | 90 | |
87 | 91 | |
88 | 92 | |
| ||
103 | 107 | |
104 | 108 | |
105 | 109 | |
106 | | - |
107 | | - |
108 | | - |
| 110 | + |
| 111 | + |
109 | 112 | |
110 | 113 | |
111 | 114 | |
| ||
132 | 135 | |
133 | 136 | |
134 | 137 | |
135 | | - |
136 | | - |
| 138 | + |
| 139 | + |
| 140 | + |
137 | 141 | |
138 | | - |
139 | 142 | |
140 | 143 | |
141 | | - |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
| 144 | + |
147 | 145 | |
148 | 146 | |
149 | 147 | |
| ||
152 | 150 | |
153 | 151 | |
154 | 152 | |
155 | | - |
156 | | - |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
157 | 161 | |
158 | | - |
159 | 162 | |
160 | | - |
161 | | - |
162 | | - |
163 | | - |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
| 169 | + |
| 170 | + |
| 171 | + |
| 172 | + |
| 173 | + |
| 174 | + |
| 175 | + |
| 176 | + |
| 177 | + |
164 | 178 | |
165 | 179 | |
166 | 180 | |
| ||
223 | 237 | |
224 | 238 | |
225 | 239 | |
226 | | - |
227 | | - |
| 240 | + |
| 241 | + |
| 242 | + |
228 | 243 | |
229 | 244 | |
230 | 245 | |
231 | | - |
232 | 246 | |
233 | 247 | |
234 | 248 | |
|
Collapse file
test/fixtures/old-repl-history-file-faulty.json
Copy file name to clipboard+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
Collapse file
test/fixtures/old-repl-history-file-obj.json
Copy file name to clipboard+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
Collapse file
test/parallel/test-repl-persistent-history.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-persistent-history.js+23-4Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | | - |
| 59 | + |
60 | 60 | |
61 | 61 | |
62 | 62 | |
63 | 63 | |
64 | 64 | |
65 | 65 | |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
66 | 72 | |
67 | 73 | |
68 | 74 | |
| ||
72 | 78 | |
73 | 79 | |
74 | 80 | |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
75 | 85 | |
76 | 86 | |
77 | 87 | |
| ||
93 | 103 | |
94 | 104 | |
95 | 105 | |
96 | | - |
97 | | - |
| 106 | + |
98 | 107 | |
99 | | - |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
100 | 119 | |
101 | 120 | |
102 | 121 | |
|
0 commit comments