mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore(installer): remove stale backlinks silently (#4786)
This commit is contained in:
parent
7bbda4370d
commit
779c5fff16
@ -83,8 +83,6 @@ async function validateCache(packagePath: string, browsersPath: string, linksDir
|
|||||||
usedBrowserPaths.add(usedBrowserPath);
|
usedBrowserPaths.add(usedBrowserPath);
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (linkTarget)
|
|
||||||
browserFetcher.logPolitely('Failed to process descriptor at ' + linkTarget);
|
|
||||||
await fsUnlinkAsync(linkPath).catch(e => {});
|
await fsUnlinkAsync(linkPath).catch(e => {});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user