Skip to content

Commit c4a830c

Browse files
add logs
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
1 parent 3fd7f9c commit c4a830c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

code/src/vs/platform/shell/node/shellEnv.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,18 @@ async function doResolveUnixShellEnv(logService: ILogService, token: Cancellatio
226226
}
227227

228228
delete env['VSCODE_RESOLVING_ENVIRONMENT'];
229+
logService.info('++++++ getUnixShellEnvironment', env['LD_LIBRARY_PATH'], 'stripEnabled=', stripLdLibraryPath);
229230
if (stripLdLibraryPath) {
230231
const sanitizedLdLibraryPath = stripCheCodeLdLibraryPath(env['LD_LIBRARY_PATH']);
231232
if (sanitizedLdLibraryPath) {
232233
env['LD_LIBRARY_PATH'] = sanitizedLdLibraryPath;
234+
logService.info('++++++ SANITIZE');
233235
} else {
236+
logService.info('++++++ DELETE');
234237
delete env['LD_LIBRARY_PATH'];
235238
}
236239
}
240+
logService.info('++++++ AFTER', env['LD_LIBRARY_PATH']);
237241

238242
// https://github.com/microsoft/vscode/issues/22593#issuecomment-336050758
239243
delete env['XDG_RUNTIME_DIR'];

0 commit comments

Comments
 (0)