mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +03:00
fix(launchDoctor): support existing LD_LIBRARY_PATH (#3165)
This commit is contained in:
parent
f4e584ea08
commit
9b502af4e3
@ -121,7 +121,7 @@ function lddAsync(filePath: string): Promise<{stdout: string, stderr: string, co
|
||||
cwd: dirname,
|
||||
env: {
|
||||
...process.env,
|
||||
LD_LIBRARY_PATH: dirname,
|
||||
LD_LIBRARY_PATH: process.env.LD_LIBRARY_PATH ? `${process.env.LD_LIBRARY_PATH}:${dirname}` : dirname,
|
||||
},
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user