File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -110,20 +110,20 @@ export class ExportLogsCommand implements Command {
110
110
if ( token . isCancellationRequested ) {
111
111
return ;
112
112
}
113
- }
114
113
115
- for ( const logFilePath of this . getAdditionalRemoteLogs ( ) ) {
116
- try {
117
- const logFileUri = vscode . Uri . file ( logFilePath ) . with ( { scheme : 'vscode-remote' } ) ;
118
- const fileContent = await vscode . workspace . fs . readFile ( logFileUri ) ;
119
- if ( fileContent . byteLength > 0 ) {
120
- remoteLogFiles . push ( {
121
- path : path . join ( './remote' , path . basename ( logFileUri . path ) ) ,
122
- contents : Buffer . from ( fileContent )
123
- } ) ;
114
+ for ( const logFilePath of this . getAdditionalRemoteLogs ( ) ) {
115
+ try {
116
+ const logFileUri = vscode . Uri . file ( logFilePath ) . with ( { scheme : 'vscode-remote' } ) ;
117
+ const fileContent = await vscode . workspace . fs . readFile ( logFileUri ) ;
118
+ if ( fileContent . byteLength > 0 ) {
119
+ remoteLogFiles . push ( {
120
+ path : path . join ( './remote' , path . basename ( logFileUri . path ) ) ,
121
+ contents : Buffer . from ( fileContent )
122
+ } ) ;
123
+ }
124
+ } catch {
125
+ // no-op
124
126
}
125
- } catch {
126
- // no-op
127
127
}
128
128
}
129
129
You can’t perform that action at this time.
0 commit comments