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 {
7171
7272 const chunk = 1 << 14 ;
7373 let offset = 0 ;
74- let full : Uint8Array [ ] = [ ] ;
74+ const full : Uint8Array [ ] = [ ] ;
7575
7676 while ( true ) {
7777 const resp = await session . customRequest ( 'readMemory' , {
@@ -120,8 +120,6 @@ interface Variable {
120120 memoryReference ?: string ;
121121}
122122
123-
124-
125123const escapeCodes : Record < string , string > = {
126124 r : '\r' ,
127125 n : '\n' ,
@@ -132,7 +130,8 @@ const escapeCodes: Record<string, string> = {
132130 * Parses a variable value, unescaping special characters.
133131 */
134132function parseVariable ( variable : Variable ) {
135- let raw = variable . value . trim ( ) ;
133+ const raw = variable . value . trim ( ) ;
134+
136135 try {
137136 return JSON . parse ( raw ) ;
138137 } catch ( _ ) {
You can’t perform that action at this time.
0 commit comments