File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class VariableContentProvider implements vscode.TextDocumentContentProvider {
71
71
72
72
const chunk = 1 << 14 ;
73
73
let offset = 0 ;
74
- let full : Uint8Array [ ] = [ ] ;
74
+ const full : Uint8Array [ ] = [ ] ;
75
75
76
76
while ( true ) {
77
77
const resp = await session . customRequest ( 'readMemory' , {
@@ -120,8 +120,6 @@ interface Variable {
120
120
memoryReference ?: string ;
121
121
}
122
122
123
-
124
-
125
123
const escapeCodes : Record < string , string > = {
126
124
r : '\r' ,
127
125
n : '\n' ,
@@ -132,7 +130,8 @@ const escapeCodes: Record<string, string> = {
132
130
* Parses a variable value, unescaping special characters.
133
131
*/
134
132
function parseVariable ( variable : Variable ) {
135
- let raw = variable . value . trim ( ) ;
133
+ const raw = variable . value . trim ( ) ;
134
+
136
135
try {
137
136
return JSON . parse ( raw ) ;
138
137
} catch ( _ ) {
You can’t perform that action at this time.
0 commit comments