chore: bump chromium to 93.0.4550.0 (main) (#29751)
This commit is contained in:
parent
c5066cce22
commit
b8261f1591
78 changed files with 402 additions and 429 deletions
|
@ -1273,8 +1273,15 @@ describe('app module', () => {
|
|||
});
|
||||
const [exitCode] = await emittedOnce(appProcess, 'exit');
|
||||
if (exitCode === 0) {
|
||||
// return info data on successful exit
|
||||
return JSON.parse(gpuInfoData);
|
||||
try {
|
||||
const [, json] = /HERE COMES THE JSON: (.+) AND THERE IT WAS/.exec(gpuInfoData)!;
|
||||
// return info data on successful exit
|
||||
return JSON.parse(json);
|
||||
} catch (e) {
|
||||
console.error('Failed to interpret the following as JSON:');
|
||||
console.error(gpuInfoData);
|
||||
throw e;
|
||||
}
|
||||
} else {
|
||||
// return error if not clean exit
|
||||
return Promise.reject(new Error(errorData));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue